|
Boost Users : |
From: Kamil Shakirov (kamils80_at_[hidden])
Date: 2007-09-28 00:50:50
Hi.
I have a problem with static linking on Solaris/sparc64 (Sun Studio 11).
This project can be compiled on win32 and Linux.
root_at_sun-ivr: #uname -a
SunOS sun-ivr 5.10 Generic_120011-14 sun4u sparc SUNW,UltraSPARCengine_CP-40
/opt/SUNWspro/bin/CC -mt -library=stlport4 -xarch=generic64
-DBOOST_FILESYSTEM_STATIC_LINK -o bin/IPGateway bin/XMLParser.o
bin/Utility.o bin/Logger.o bin/Configuration.o bin/Board.o
bin/ResourceManager.o bin/main.o -Ltools/lib/solaris-sparc64
-L/opt/nms/lib -lexpat -lboost_date_time-sw-mt -lboost_filesystem-sw-mt
-lboost_regex-sw-mt -lboost_log-sw-mt -lboost_system-sw-mt
-lboost_thread-sw-mt -lboost_program_options-sw-mt -lcta -ladiapi
-lnccapi -lvceapi -ladidtm -lmccsdp -lmspapi -lswiapi -lnsl -lsocket
-lresolv -ldl -lthread -lpthread -lrt
ld: fatal: symbol `const
char*boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::string,boost::filesystem::path_traits>
>::what()const' is multiply-defined:
(file bin/Logger.o type=FUNC; file
tools/lib/solaris-sparc64/libboost_filesystem-sw-mt.a(operations.o)
type=FUNC);
ld: fatal: File processing errors. No output written to bin/IPGateway
scons: *** [bin/IPGateway] Error 1
scons: building terminated because of errors.
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