Boost logo

Boost-Build :

Subject: Re: [Boost-build] Gcc pthread link error on opensolaris
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-01-27 12:40:54

On Tuesday 27 January 2009 19:12:28 Karun Gahlawat wrote:
> Hi,
> I am trying to build boost on opensolaris 2008.11 using gcc which is
> automatically selected by configure.
> It is however failing on building / linking with
> g++ unknown option 'pthread' given to ld error.
> Could someone please point me to the right direction?

If the above error is the *exact* error you got, then I believe it's fixed in SVN
head as follows:

and we presently pass -pthreads, not -pthread. You can either apply this fix to your
version of Boost, or use SVN HEAD.

> Building using sun CC cannot build multithreading either.

With what error?

> Also,
> Is boost pre built available for openbsd?

What do you mean 'pre built'? C++ Boost is distributed in source form only,
and I don't know if openbsd provides a binary package.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at