Opened 16 years ago

Closed 15 years ago

#747 closed Support Requests (invalid)

failing on 6 targets in MacOS X

Reported by: annacegu Owned by: Vladimir Prus
Milestone: Component: Building Boost
Version: None Severity: Showstopper
Keywords: Cc:

Description

Hi,

I ran the configure script first, which created a Makefile for me. I then 
ran make, and it was able to build 9834 targets but failed on 6. Below 
are the messages I'm getting on those 6 targets.

Could you please help me out? Thanks very much.

Regards,
Anna.


./tools/build/jam_src/bin.macosxx86/bjam -sPYTHON_ROOT=/
System/Library/Frameworks/Python.framework/Versions/2.3 -
sPYTHON_VERSION=2.3 -sTOOLS=darwin 
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).
...patience...
...patience...
...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...
Not all Boost libraries built properly.

Change History (4)

comment:1 by ninjit, 16 years ago

Logged In: YES 
user_id=1619694

Are you using an intel mac?

I started having this exact problem (same errors) when I
tried to compile boost on my MacBook pro (intel), I never
had an issue with my Power Mac G5.

Just looking at some of the variable names mentioned it
seems that part of the build process is assuming a Darwin
(Mac OS X)  platform automatically implies a PPC processor.

The problem appears to be just 2 libraries (with 3
variations of each, static, dynamic etc.)
prg_exec_monitor
and
unit_test_framework

As long as you don't need these, the rest of the boost suite
should still work - I doubt a whole lot of other libs are
dependent on just these 2 (they would most likely have
failed building as well).


comment:2 by nobody, 16 years ago

Logged In: NO 

Same punishment for me on my Mac Book Pro (Intel) 

comment:3 by Gennadiy Rozental, 15 years ago

Owner: changed from Gennadiy Rozental to Vladimir Prus
Severity: Showstopper
Status: assignednew

this looks like BB issue. And rather old. I would close.

comment:4 by Vladimir Prus, 15 years ago

Resolution: Noneinvalid
Status: newclosed

And Boost.Build V1 issue even. Closing.

Note: See TracTickets for help on using tickets.