|
Boost : |
Subject: Re: [boost] Boost 1.51.0 released!
From: Cromwell Enage (sponage_at_[hidden])
Date: 2012-08-22 10:23:03
>>> On 21 August 2012 04:03, Cromwell Enage wrote:
>>> Sorry to rain on this parade, but I still can't build Quickbook on Mac OSX 10.8 (Mountain Lion).
>>>
>>> The relevant error is "ld: unknown option: --start-group".
Vladimir Prus wrote:
> Could you still provide the exact command line you are using to build,
> your user-config.jam and the exact output from the build process?
>
> The above error is really only possible when building with toolset=gcc,
> or if something truly unexpected happens.
<user_config.jam>
using gcc ;
using mpi ;
using xsltproc ;
using boostbook
: "/usr/local/share/xsl/docbook"
: "/usr/local/share/xml/docbook/4.2"
;
using doxygen
: /Applications/Doxygen.app/Contents/Resources/doxygen
;
</user_config.jam>
Starting from the BOOST_ROOT directory, I run the following commands in order:
./bootstrap.sh
sudo mv b2 /usr/local/bin
sudo b2 install
cd tools/quickbook
sudo b2
<output command="sudo b2">
...patience...
...patience...
...found 1721 targets...
...updating 2 targets...
gcc.link ../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/quickbook
ld: unknown option: --start-group
collect2: ld returned 1 exit status
"g++" -o "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/quickbook" -Wl,--start-group "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/quickbook.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/actions.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/doc_info_actions.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/state.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/utils.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/files.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/string_ref.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/input_path.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/values.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/id_manager.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/post_process.o"
"../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/collector.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/template_stack.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/code_snippet.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/markups.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/syntax_highlight.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/grammar.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/main_grammar.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/block_element_grammar.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/phrase_element_grammar.o" "../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/doc_info_grammar.o" "../../bin.v2/libs/filesystem/build/gcc-4.2.1/release/link-static/libboost_filesystem.a"
"../../bin.v2/libs/system/build/gcc-4.2.1/release/link-static/libboost_system.a" "../../bin.v2/libs/program_options/build/gcc-4.2.1/release/link-static/libboost_program_options.a" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group
...failed gcc.link ../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static/quickbook...
...skipped <p../../dist/bin>quickbook for lack of <p../../bin.v2/tools/quickbook/src/gcc-4.2.1/release/link-static>quickbook...
...failed updating 1 target...
...skipped 1 target...
</output>
Cromwell D. Enage
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk