Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-31 03:46:45

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
> ( on 15. May:
> bin.v2/libs/thread/build/gcc-4.0.2/release/threading-multi/libboost
> ld: (Warning): Incorrect '-' in symbol pattern
> "libboost_thread-gcc40-mt-1_34_1.
> so.1.34.1". Ignoring pattern
> "".
> 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.

you have to change the gcc.jam:init-link-flags to handle
'hpux' as the linker type.

Then, you have to configure gcc like:

        using gcc : version : command : <linker-type>hpux ;

And if that works, send a patch!

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

- Volodya

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