Hi,

Following the instructions on the website, when I try to compile Boost 1.35 on Mac OS with, I get the following errors for numerous source files – any ideas how to fix this?

Thanks,

Phil


-imac-g5:~/dev/c++/boost/boost_1_35_0 $ bjam --toolset=darwin stage
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
...patience...
...patience...
...found 3959 targets...
...updating 259 targets...
darwin.compile.c++ bin.v2/libs/serialization/build/darwin/release/macosx-version-10.4/threading-multi/basic_iarchive.o
/var/tmp//cc8CBvWf.s:12265:Complex expression. Absolute segment assumed.
/var/tmp//cc8CBvWf.s:12267:Complex expression. Absolute segment assumed.
/var/tmp//cc8CBvWf.s:12271:Complex expression. Absolute segment assumed.
/var/tmp//cc8CBvWf.s:12273:Complex expression. Absolute segment assumed.

<snip>


/var/tmp//cc8CBvWf.s:37788:Complex expression. Absolute segment assumed.
/var/tmp//cc8CBvWf.s:37790:Complex expression. Absolute segment assumed.
/var/tmp//cc8CBvWf.s:37792:Complex expression. Absolute segment assumed.
/var/tmp//cc8CBvWf.s:37794:








    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -dynamic -Wno-long-double -no-cpp-precomp -gdwarf-2  -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/serialization/build/darwin/release/macosx-version-10.4/threading-multi/basic_iarchive.o" "libs/serialization/src/basic_iarchive.cpp"

...failed darwin.compile.c++ bin.v2/libs/serialization/build/darwin/release/macosx-version-10.4/threading-multi/basic_iarchive.o...
^C
philip-beadlings-imac-g5:~/dev/c++/boost/boost_1_35_0 $
philip-beadlings-imac-g5:~/dev/c++/boost/boost_1_35_0 $
philip-beadlings-imac-g5:~/dev/c++/boost/boost_1_35_0 $ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)
-imac-g5:~/dev/c++/boost/boost_1_35_0 philipbeadling$ bjam -v
Boost.Jam  Version 3.1.16. OS=MACOSX.
   Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.  
   Copyright 2001 David Turner.
   Copyright 2001-2004 David Abrahams.
   Copyright 2002-2005 Rene Rivera.
   Copyright 2003-2005 Vladimir Prus.
-imac-g5:~/dev/c++/boost/boost_1_35_0 $