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

Already on GitHub? Sign in to your account

undefined reference to `pthread_once' #65

ArtemGr opened this Issue Aug 30, 2012 · 0 comments


None yet
2 participants

ArtemGr commented Aug 30, 2012

FYI, unstable branch does not compile by default:

[ 65%] Building CXX object unit_testing/CMakeFiles/test__atom.dir/test__atom.cpp.o
Linking CXX executable ../bin/test__atom
/root/work/libcppa/build/lib/libcppa.so: undefined reference to `pthread_key_create'
/root/work/libcppa/build/lib/libcppa.so: undefined reference to `pthread_once'
/root/work/libcppa/build/lib/libcppa.so: undefined reference to `pthread_getspecific'
/root/work/libcppa/build/lib/libcppa.so: undefined reference to `pthread_setspecific'
collect2: error: ld returned 1 exit status
make[3]: *** [bin/test__atom] Error 1
make[3]: Leaving directory `/home/root/work/libcppa/build'
make[2]: *** [unit_testing/CMakeFiles/test__atom.dir/all] Error 2
make[2]: Leaving directory `/home/root/work/libcppa/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/root/work/libcppa/build'
make: *** [all] Error 2
root@pro1453:~/work/libcppa# Write failed: Connection reset by peer

@Neverlord Neverlord closed this in e63cd5e Aug 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment