|
Boost Users : |
From: Rick Mann (rmann_at_[hidden])
Date: 2007-02-05 21:39:37
Hi. I'm trying to build boost (to support a different project), and
I'm having a certain amount of difficulty. I run:
> $ bjam "-sTOOLS=darwin" stage
and it goes off and churns for a bit, but a few things fail:
> darwin-Link-DyLib-action bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
> libboost_prg_exec_monitor-d-1_33_1.dylib
> ld: Undefined symbols:
> __Z8cpp_mainiPPc
> /usr/bin/libtool: internal link edit command failed
>
> DYLD_LIBRARY_PATH=bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true
> export DYLD_LIBRARY_PATH
> ld -dynamic -m -r -d -o "bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
> libboost_prg_exec_monitor-d-1_33_1.lo" "bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
> execution_monitor.o" "bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
> cpp_main.o" \
> && \
> c++ -g -o "bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
> libboost_prg_exec_monitor-d-1_33_1.dylib" "bin/boost/libs/test/
> build/libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-
> true/libboost_prg_exec_monitor-d-1_33_1.lo" \
> \
> -dynamiclib -install_name "libboost_prg_exec_monitor-
> d-1_33_1.dylib" \
> && \
> rm -f "bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
> libboost_prg_exec_monitor-d-1_33_1.lo"
>
> ...failed darwin-Link-DyLib-action bin/boost/libs/test/build/
> libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
> libboost_prg_exec_monitor-d-1_33_1.dylib...
> ...skipped <@boost!lib>libboost_prg_exec_monitor-d-1_33_1.dylib for
> lack of <@boost!libs!test!build/libboost_prg_exec_monitor.dylib/
> darwin/debug/shared-linkable-true>libboost_prg_exec_monitor-
> d-1_33_1.dylib...
> MkDir1 bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/
> darwin/release
There are a few other failures (6 in all):
libboost_prg_exec_monitor-d-1_33_1.dylib
libboost_prg_exec_monitor-1_33_1.dylib
libboost_test_exec_monitor-d-1_33_1.dylib
libboost_test_exec_monitor-1_33_1.dylib
libboost_unit_test_framework-d-1_33_1.dylib
libboost_unit_test_framework-1_33_1.dylib
In the end, I am unable to build a GNU tool that relies on boost
regex, which is really all I want to do.
Any help would be much appreciated. Thanks!
(Current Mac OS X 10.4.8, current Xcode tools 2.4.1)
-- Rick
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