Boost Users :
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-05-25 23:55:16
Patrik Jonsson wrote:
>> "power3" is something that was added by GCC after I wrote this support
>> into boost.build. I just added it, and adjusted for the aix64 and
>> power combinations... Try the attached.. but now the BUILD value will
>> be the complete:
>> Not including the instruction-set should also work. But it will give
>> you the generic -mcpu=powerpc64 option instead of the -mcpu=power3.
>> It's up to you which one you want.
> ok, this is looking good. It looks like I now can build all static
> libraries. However, the shared libraries now fail because the -pthread
> option is not given on the link line. (I'm pretty sure this worked before):
Well that's a single threaded library, it would have "threading-multi"
in the path if it was multi threaded.
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
It's likely that something other than Boost requires pthread. Could you
find out what that is? It could be libstdc++, or something else..
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
..Perhaps by using one of those options you can find out where the
pthread symbols are referenced. (by adding <ldflags>-bnoquite to BUILD
> If this is fixed, it looks like everything will build ok. Thanks a bunch!
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net