Boost logo

Boost :

Subject: Re: [boost] [thread][hpux][1.3.9]/usr/lib/dld.sl: 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/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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk