I'm trying to get a simple project to link on Linux and I'm getting the following errors.
I checked if nptl is installed on this machine and this is what rpm says:Code:slice2cpp --checksum arrow.ice g++ -c -I/usr/include/nptl -I. -fexceptions icemain.cpp ArrowSvc.cpp arrow.cpp g++ -o ArrowSvc *.o -L/usr/lib/nptl -lpthread -L/usr/lib -lIce -lIceUtil /lib/librt.so.1: undefined reference to `__librt_enable_asynccancel@GLIBC_PRIVATE' /lib/librt.so.1: undefined reference to `__librt_multiple_threads@GLIBC_PRIVATE' /lib/librt.so.1: undefined reference to `__librt_disable_asynccancel@GLIBC_PRIVATE'
rpm -query nptl-devel
nptl-devel-2.3.4-2.39
I think this is RHEL 4 but I do not know how to check.
What am I doing wrong?

Reply With Quote