Building on MacOS X

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Building on MacOS X

Etienne Samson
Hi everyone !

I'm having linking errors while trying to build boost on my Mac.
I'm using MacOS X 10.4.4, GCC 4.0.1, and I don't have any idea about the
linking error...

--> OUTPUT LOG START <--
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
...found 9834 targets...
...updating 6 targets...
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...
darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_prg_exec_monitor-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/release/shared-linkable-true
    export DYLD_LIBRARY_PATH
    ld -dynamic -m -r -d  -o
"bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_prg_exec_monitor-1_33_1.lo"

"bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/execution_monitor.o"
"bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/cpp_main.o"
 \
    && \
    c++  -Wl,-x  -o
"bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_prg_exec_monitor-1_33_1.dylib"

"bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_prg_exec_monitor-1_33_1.lo"
 \
        \
           -dynamiclib -install_name
"libboost_prg_exec_monitor-1_33_1.dylib"  \
    && \
    rm -f
"bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_prg_exec_monitor-1_33_1.lo"

...failed darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_prg_exec_monitor-1_33_1.dylib...
darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/libboost_test_exec_monitor-d-1_33_1.dylib
ld: Undefined symbols:
__Z9test_mainiPPc
/usr/bin/libtool: internal link edit command failed

    DYLD_LIBRARY_PATH=bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true
    export DYLD_LIBRARY_PATH
    ld -dynamic -m -r -d  -o
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/libboost_test_exec_monitor-d-1_33_1.lo"

"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/compiler_log_formatter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/execution_monitor.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/framework.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/plain_report_formatter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/progress_monitor.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/results_collector.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/results_reporter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/test_main.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/test_tools.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/unit_test_log.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/unit_test_main.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/unit_test_monitor.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/unit_test_parameters.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/unit_test_suite.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/xml_log_formatter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/xml_report_formatter.o"
 \
    && \
    c++  -g  -o
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/libboost_test_exec_monitor-d-1_33_1.dylib"

"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/libboost_test_exec_monitor-d-1_33_1.lo"
 \
        \
           -dynamiclib -install_name
"libboost_test_exec_monitor-d-1_33_1.dylib"  \
    && \
    rm -f
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/libboost_test_exec_monitor-d-1_33_1.lo"

...failed darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/libboost_test_exec_monitor-d-1_33_1.dylib...
darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_test_exec_monitor-1_33_1.dylib
ld: Undefined symbols:
__Z9test_mainiPPc
/usr/bin/libtool: internal link edit command failed

    DYLD_LIBRARY_PATH=bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true
    export DYLD_LIBRARY_PATH
    ld -dynamic -m -r -d  -o
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_test_exec_monitor-1_33_1.lo"

"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/compiler_log_formatter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/execution_monitor.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/framework.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/plain_report_formatter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/progress_monitor.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/results_collector.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/results_reporter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/test_main.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/test_tools.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/unit_test_log.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/unit_test_main.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/unit_test_monitor.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/unit_test_parameters.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/unit_test_suite.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/xml_log_formatter.o"
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/xml_report_formatter.o"
 \
    && \
    c++  -Wl,-x  -o
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_test_exec_monitor-1_33_1.dylib"

"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_test_exec_monitor-1_33_1.lo"
 \
        \
           -dynamiclib -install_name
"libboost_test_exec_monitor-1_33_1.dylib"  \
    && \
    rm -f
"bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_test_exec_monitor-1_33_1.lo"

...failed darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/libboost_test_exec_monitor-1_33_1.dylib...
darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/libboost_unit_test_framework-d-1_33_1.dylib
ld: Undefined symbols:
__Z20init_unit_test_suiteiPPc
/usr/bin/libtool: internal link edit command failed

    DYLD_LIBRARY_PATH=bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true
    export DYLD_LIBRARY_PATH
    ld -dynamic -m -r -d  -o
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/libboost_unit_test_framework-d-1_33_1.lo"

"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/compiler_log_formatter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/execution_monitor.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/framework.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/plain_report_formatter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/progress_monitor.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/results_collector.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/results_reporter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/test_tools.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/unit_test_log.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/unit_test_main.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/unit_test_monitor.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/unit_test_parameters.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/unit_test_suite.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/xml_log_formatter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/xml_report_formatter.o"
 \
    && \
    c++  -g  -o
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/libboost_unit_test_framework-d-1_33_1.dylib"

"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/libboost_unit_test_framework-d-1_33_1.lo"
 \
        \
           -dynamiclib -install_name
"libboost_unit_test_framework-d-1_33_1.dylib"  \
    && \
    rm -f
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/libboost_unit_test_framework-d-1_33_1.lo"

...failed darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/libboost_unit_test_framework-d-1_33_1.dylib...
darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/libboost_unit_test_framework-1_33_1.dylib
ld: Undefined symbols:
__Z20init_unit_test_suiteiPPc
/usr/bin/libtool: internal link edit command failed

    DYLD_LIBRARY_PATH=bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true
    export DYLD_LIBRARY_PATH
    ld -dynamic -m -r -d  -o
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/libboost_unit_test_framework-1_33_1.lo"

"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/compiler_log_formatter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/execution_monitor.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/framework.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/plain_report_formatter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/progress_monitor.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/results_collector.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/results_reporter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/test_tools.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/unit_test_log.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/unit_test_main.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/unit_test_monitor.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/unit_test_parameters.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/unit_test_suite.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/xml_log_formatter.o"
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/xml_report_formatter.o"
 \
    && \
    c++  -Wl,-x  -o
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/libboost_unit_test_framework-1_33_1.dylib"

"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/libboost_unit_test_framework-1_33_1.lo"
 \
        \
           -dynamiclib -install_name
"libboost_unit_test_framework-1_33_1.dylib"  \
    && \
    rm -f
"bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/libboost_unit_test_framework-1_33_1.lo"

...failed darwin-Link-DyLib-action
bin/boost/libs/test/build/libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true/libboost_unit_test_framework-1_33_1.dylib...
...failed updating 6 targets...

--
Etienne Samson
IUT de Valence


_______________________________________________
Boost-build mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-build