
I am getting the following errors when trying to link the simple_ls example using SunStudio11 and 12: Undefined first referenced symbol in file std::allocator<char>::~allocator() /rdo/home/fsleeman/boost_1_32_0-install/lib/libboost_filesystem-sw-mt-d.a(operations_posix_windows.o) std::string::basic_string() /rdo/home/fsleeman/boost_1_32_0-install/lib/libboost_filesystem-sw-mt-d.a(operations_posix_windows.o) int std::string::_M_compare(const char*,const char*,const char*,const char*) /rdo/home/fsleeman/boost_1_32_0-install/lib/libboost_filesystem-sw-mt-d.a(path_posix_windows.o) int std::char_traits<char>::compare(const char*,const char*,unsigned long) /rdo/home/fsleeman/boost_1_32_0-install/lib/libboost_filesystem-sw-mt-d.a(path_posix_windows.o) std::string::basic_string(std::_String_reserve_t,unsigned long,const std::allocator<char>&) /rdo/home/fsleeman/boost_1_32_0-install/lib/libboost_filesystem-sw-mt-d.a(path_posix_windows.o) std::string &std::string::append<const char*>(__type_3,__type_3) /rdo/home/fsleeman/boost_1_32_0-install/lib/libboost_filesystem-sw-mt-d.a(path_posix_windows.o) ld: fatal: Symbol referencing errors. No output written to simple_ls The related lines in my Makefile are the following: CC -o simple_ls simple_ls.o -features=tmplife -features=tmplrefstatic -xarch=generic64 -L/usr/local/lib/sparcv9 -L/rdo/home/fsleeman/boost_1_32_0-install/lib -lCstd -lboost_filesystem-sw-mt-d CC -xarch=generic64 -I/rdo/home/fsleeman/boost_1_32_0-install/include/boost-1_32 -I/usr/local/include -c simple_ls.cpp Are some other options I am missing? I have had no trouble getting this to compile under g++. -Ford Sleeman NOTE: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. -------------------------------------- VCU Health System http://www.vcuhealth.org