Boost logo

Boost Users :

From: Adalbert Perbandt (adalbert.perbandt_at_[hidden])
Date: 2003-06-18 07:36:20


Hi there,

I'm trying to get the boost::filesystem library working on Sun SPARC
Solaris 7 with the Sun forte 6.2 compiler.

----------------------------------------------------------------------

$ cd boost_1_30_0/libs/filesystem/test
$ bjam -sTOOLS=sunpro -sBOOST_ROOT=/opt/boost_1.30.0

[...]

sunpro-Link-action ../../../libs/filesystem/test/bin/convenience_test.test/sunpro/debug/runtime-link-dynamic/convenience_test
Undefined first referenced
 symbol in file
boost::__RTTI__1nFboostPchecked_deleter4n0AKfilesystemSdirectory_iteratorLdir_itr_imp___ ../../../libs/filesystem/build/bin/libboost_filesystem.a/sunpro/debug/runtime-link-dynamic/libboost_filesystem.a(9dK8jJofKplZFEI9d1QA.o)
[Hint: static member boost::__RTTI__1nFboostPchecked_deleter4n0AKfilesystemSdirectory_iteratorLdir_itr_imp___ must be defined in the program]

ld: fatal: Symbol referencing errors. No output written to ../../../libs/filesystem/test/bin/convenience_test.test/sunpro/debug/runtime-link-dynamic/convenience_test

    CC -o "../../../libs/filesystem/test/bin/convenience_test.test/sunpro/debug/runtime-link-dynamic/convenience_test" -xildoff -g "../../../libs/filesystem/test/bin/convenience_test.test/sunpro/debug/runtime-link-dynamic/convenience_test.o" "../../../libs/filesystem/build/bin/libboost_filesystem.a/sunpro/debug/runtime-link-dynamic/libboost_filesystem.a" "../../../libs/filesystem/build/bin/libboost_filesystem.a/sunpro/debug/runtime-link-dynamic/libboost_filesystem.a"

...failed sunpro-Link-action ../../../libs/filesystem/test/bin/convenience_test.test/sunpro/debug/runtime-link-dynamic/convenience_test...
...skipped <libs!filesystem!test/path_test.test/sunpro/debug/runtime-link-dynamic>path_test.run for lack of <libs!filesystem!test/path_test.test/sunpro/debug/runtime-link-dynamic>path_test...
...skipped <libs!filesystem!test/operations_test.test/sunpro/debug/runtime-link-dynamic>operations_test.run for lack of <libs!filesystem!test/operations_test.test/sunpro/debug/runtime-link-dynamic>operations_test...
execute-test ../../../libs/filesystem/test/bin/fstream_test.test/sunpro/debug/runtime-link-dynamic/fstream_test.run
**passed** ../../../libs/filesystem/test/bin/fstream_test.test/sunpro/debug/runtime-link-dynamic/fstream_test.test
...skipped <libs!filesystem!test/convenience_test.test/sunpro/debug/runtime-link-dynamic>convenience_test.run for lack of <libs!filesystem!test/convenience_test.test/sunpro/debug/runtime-link-dynamic>convenience_test...
...failed updating 3 targets...
...skipped 6 targets...
...updated 33 targets...

----------------------------------------------------------------------

Is my assumption correct that this again is a consequence of a failure
in Sun's forte 6 update 2 compiler?

Is there any known workaround for this?

Regards,

Adalbert Perbandt.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net