[thread][hpux][1.3.9]/usr/lib/dld.sl: Unresolved symbol: pthread_create (code)

Hi I am using boost 1.3.9 thread library for all platform(Windows and non-windows). Same code is runing in all platform but for HPUX, I am getting the following error during runtime. /usr/lib/dld.sl: Unresolved symbol: pthread_create (code) from /opt/bst/lib/libboost_thread.sl ABORT instruction (core dumped). But it is working fine with boost library 1.3.2. Please let me know the solution of this problem. Regards Gopal

gopal haldar <haldar.gopal@gmail.com> writes:
Hi I am using boost 1.3.9 thread library for all platform(Windows and non-windows). Same code is runing in all platform but for HPUX, I am getting the following error during runtime. /usr/lib/dld.sl: Unresolved symbol: pthread_create (code) from /opt/bst/lib/libboost_thread.sl
ABORT instruction (core dumped). But it is working fine with boost library 1.3.2. Please let me know the solution of this problem.
Are you linking against the pthread library with -lpthread? Are you using your compiler's switches to enable multithreaded code? Anthony -- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
participants (2)
-
Anthony Williams
-
gopal haldar