
Beman Dawes wrote:
"Steve Clamage" <Stephen.Clamage@Sun.COM> wrote in message news:42CF3A0A.5020702@sun.com...
The macro BOOST_NO_IS_ABSTRACT should be defined.
Also, be sure you are using the option -library=stlport4 on every CC command line. The configuration files for Sun should set up that option already.
Hum... The command line for a failing filesystem compile was:
/opt/sunstudio10u1/SUNWspro/bin/CC -c -g -xtarget=generic +d -features=rtti -features=except -I"/tmp/dgregor/BoostRegressionTesting/results/bin/boost/libs/filesystem/build" -I"/tmp/dgregor/BoostRegressionTesting/boost" -I"/usr/include" -I"/tmp/dgregor/BoostRegressionTesting/boost" -o "/tmp/dgregor/BoostRegressionTesting/results/bin/boost/libs/filesystem/build/libboost_filesystem.a/sunpro-5_8u1-sunos/debug/exception.o" "/tmp/dgregor/BoostRegressionTesting/boost/libs/filesystem/build/../src/exception.cpp"
So it looks like we need to add -library=stlport4 to the jamfile.
Yes. And other things are wrong with the command line. You should remove all of the following: +d -features=rtti -features=except -I"/usr/include" The two -features options are the defaults, and have no effect. The +d disables function inlining, which -g already does. (The -g compiles the program for debugging.) The -I/usr/include can prevent programs from compiling or working as intended. --- Steve Clamage, stephen.clamage@sun.com