Boost logo

Boost :

Subject: Re: [boost] [date_time] problems building dynamic library
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-13 17:51:45


AMDG

Marius Lazer wrote:
> I'm getting the following errors trying to build boost_1_36_0 on AMD
> Solaris 10 with gcc 4.1.2.
>
> <snip>
>
> gcc.link.dll
> bin.v2/libs/date_time/build/gcc-4.1.2/release/threading-multi/libboost_d
> ate_time-gcc41-mt-1_36.so.1.36.0
> /usr/ccs/bin/ld: illegal option -- start-group
> /usr/ccs/bin/ld: illegal option -- end-group
> /usr/ccs/bin/ld: illegal option -- strip-all
> usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
> file(s)
>

Find the line in user-config.jam which says
  using gcc : ... : ... ;
and add <linker-type>sun to it:
  using gcc : ... : ... : <linker-type>sun ;

(This has been fixed since 1.36)

In Christ,
Steven Watanabe


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