Hide Forgot
Description of problem: I'm trying to install the ChucK software (http://chuck.cs.princeton.edu/). Compiles OK, but problems during linking: /usr/bin/ld: chuck_main.o: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5' /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status Version-Release number of selected component (if applicable): glibc-2.14.90-14.x86_64 glibc-2.14.90-14.i686 How reproducible: always Steps to Reproduce: 1.download the chuck software 2.got src directory 3.gmake linux-alsa Actual results: see above Expected results: the gmake completes flawlessly Additional info:
Then fix the link command.
-lpthread fixes my problem. Sorry for inconvenience.