From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-31 03:46:45
> 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:
> ld: (Warning): Incorrect '-' in symbol pattern
> 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
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