Boost logo

Boost :

Subject: Re: [boost] [thread][hpux][1.3.9]/usr/lib/ Unresolved symbol: pthread_create (code)
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-02-02 04:41:32

gopal haldar <haldar.gopal_at_[hidden]> 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/ Unresolved symbol: pthread_create (code) from
> /opt/bst/lib/
> 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?


Author of C++ Concurrency in Action
just::thread C++0x thread library   
Just Software Solutions Ltd
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost list run by bdawes at, gregod at, cpdaniel at, john at