-
Notifications
You must be signed in to change notification settings - Fork 31
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
error in archlinux 64bit build #25
Comments
Its the second time I have seen that error. Maybe a new compiler feature or pthread update. I think I might make SoapySDR itself add -lptread in general to the modules to prevent this going forward |
For what it's worth, I'm using up to date Arch Linux on amd64 and building from source is working perfectly here, in addition to the "soapyhackrf" package and "soapyhackrf-git" PKGBUILD in AUR.
and
|
A few weeks ago it was built perfectly, but yesterday when I built it again it failed in AUR, so I decided to take a look. Searching I realized that it is a recent error and not very common so I decided to report it here. |
when trying to build the following compilation error is received
HackRF_Streaming.cpp :(. Text + 0x1c4b): undefined reference to 'pthread_cond_clockwait ' /usr/bin/ld: HackRF_Streaming.cpp :(. text + 0x1d25): undefined reference to 'pthread_cond_clockwait ' collect2: error: ld returned exit status 1 make [2]: *** [CMakeFiles/HackRFSupport.dir/build.make: 166: libHackRFSupport.so] Error 1 make [1]: *** [CMakeFiles/Makefile2: 96: CMakeFiles/HackRFSupport.dir/all] Error 2
I solved it by editing lines 41 and 43 of CMakeLists.txt adding
-lpthread
but surely this is not the best way to do it.
The text was updated successfully, but these errors were encountered: