Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed on wsl2 ubuntu22.04 #10

Open
thetengda opened this issue Mar 26, 2023 · 0 comments
Open

build failed on wsl2 ubuntu22.04 #10

thetengda opened this issue Mar 26, 2023 · 0 comments

Comments

@thetengda
Copy link

"Operation not permitted" occurs even with sudo

sudo bash ./build.sh

The build fails with message:
Run cmake -DADDRESS_SANITIZER=ON /mnt/d/gnsstk ##########################

cmake -DADDRESS_SANITIZER=ON /mnt/d/gnsstk

make all -j 6
CMake Error: failed to create symbolic link 'libgnsstk.so.14': Operation not permitted
CMake Error: cmake_symlink_library: System Error: Operation not permitted
CMake Error: failed to create symbolic link 'libgnsstk.so': Operation not permitted
CMake Error: cmake_symlink_library: System Error: Operation not permitted
make[2]: *** [CMakeFiles/gnsstk.dir/build.make:5266: libgnsstk.so.14.0.0] Error 1
make[2]: *** Deleting file 'libgnsstk.so.14.0.0'
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/gnsstk.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Error 2 :-(
See /mnt/d/gnsstk/build/DESKTOP-1DRKFVR-v14.0.0/Testing/Temporary/LastTest.log for detailed test log
See /mnt/d/gnsstk/build/DESKTOP-1DRKFVR-v14.0.0/build.log for detailed build log

This problem appeared with version 14.0
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
Python 3.10.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant