Home Help Center

linking error /usr/lib/libIceUtil.so: undefined reference to `pthread_condattr_setclo

pdb1013pdb1013 Member Peter BrandtOrganization: Jump TradingProject: windows ui for linux app

I am trying to build a project on RHEL4 using GCC 3.4.6 and Ice 3.3.1. Compilation works no problem, but on linking I get the following.

g++ -Wall ... -L/usr/lib -lIce -lIceUtil ...
/usr/lib/libIceUtil.so: undefined reference to `pthread_condattr_setclock'
collect2: ld returned 1 exit status

Perhaps I need to link some other libs as well or install some dependency? The same slice definitions and code build with no warnings/errors using Ice 3.2.0.

Any help greatly appreciated!


Sign In or Register to comment.