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

make failing at 99% #11

Open
RedactedCode opened this issue Nov 2, 2024 · 0 comments
Open

make failing at 99% #11

RedactedCode opened this issue Nov 2, 2024 · 0 comments

Comments

@RedactedCode
Copy link

RedactedCode commented Nov 2, 2024

Puppy Linux "FOSSA64" (essentially a Ubuntu derivative)
CDP8 cloned from github (default)
libaaio built from supplied tar & installed OK
portaudio 19.6 already installed, also installed portaudio-dev19 from repo.

cmake runs ok
make runs ok with a small number of warnings only, but fails at the following point:

Scanning dependencies of target listaudevs
[ 99%] Building C object dev/externals/paprogs/listaudevs/CMakeFiles/listaudevs.dir/devs.c.o
[ 99%] Linking C executable ../../../../../NewRelease/listaudevs
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libportaudio.a(pa_jack.o): undefined reference to symbol 'pthread_mutex_trylock@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libpthread.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [dev/externals/paprogs/listaudevs/CMakeFiles/listaudevs.dir/build.make:85: ../NewRelease/listaudevs] Error 1
make[1]: *** [CMakeFiles/Makefile2:8025: dev/externals/paprogs/listaudevs/CMakeFiles/listaudevs.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

There is a thread at SO https://stackoverflow.com/questions/34143265/undefined-reference-to-symbol-pthread-createglibc-2-2-5 regarding a very similar error. but adding the suggested SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") to
CMakeLists.txt in the top level of the CDP8 directory didn't make a difference. The compile failed at the same place again

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