I am trying to compile examples from the book CUDA By Example. I am using a non-root account from a remote computer using terminal via SSH.
When I try to compile code I get the following errors:
/usr/bin/ld: /tmp/tmpxft_00002ebd_00000000-13_PassingParameters.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
I guess I have to add libpthread.so.0 to /lib64/. Where can I get the libpthread.so.0 file?
Thanks,


Reply With Quote
