Boost logo

Boost-Build :

From: Oliver.Kowalke_at_[hidden]
Date: 2007-08-31 04:01:23


Hello Vladimir,

> Oliver.Kowalke_at_[hidden] wrote:
>
> > Hello,
> > I'll try to compile boost 1.34.1 on HP/UX 11.11 (acc 3.x
> last version
> > on this platform - not able to compile boost).
> >
> > bjam --prefix=/opt/boost-1_34_1 --with-thread --toolset=gcc
> > link=shared
> >
> > I get following linker error which was already adressed in
> > (http://thread.gmane.org/gmane.comp.lib.boost.build/15577)
> on 15. May:
> >
> > gcc.link.dll
> > bin.v2/libs/thread/build/gcc-4.0.2/release/threading-multi/libboost
> > _thread-gcc40-mt-1_34_1.so.1.34.1
> > ld: (Warning): Incorrect '-' in symbol pattern
> > "libboost_thread-gcc40-mt-1_34_1.
> > so.1.34.1". Ignoring pattern
> > "libboost_thread-gcc40-mt-1_34_1.so.1.34.1".
> > ld: Unrecognized argument: --start-group Fatal error.
> >
> > This is caused by the fact, that in the configuration of gcc in
> > tools/build/v2/tools/gcc.jam still the linker options of gnu ld are
> > set.But on HP/UX you have to use the hpux linker options -
> it doesn't
> > know '--start-group' etc.
> >
> > How can I change this linker-type=hpux is not recognized.
>
> Per http://article.gmane.org/gmane.comp.lib.boost.build/15598
> you have to change the gcc.jam:init-link-flags to handle
> 'hpux' as the linker type.

I tried this already in may - but no success :(

> Then, you have to configure gcc like:
>
> using gcc : version : command : <linker-type>hpux ;

I did not reconfigure gcc - could you tell me how/where I should do
this? I assume somewhere in gcc.jam but ther is no entry using gcc ...

> And if that works, send a patch!

I'll do that.

> As for "still not fixed for 1.34.1?!" from the subject line
> -- is this problem recorded in the tracker? If not, then it's
> not surprising nobody noticed.

Someone told me that he will adress this after its vacation - seams he
forgot it.

Regards, Oliver


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk