Menu

#50 Link problem in SUN solaris SparcV9

open
nobody
None
5
2005-09-06
2005-09-06
Anonymous
No

hi All,
I have a problem about compiling cppunit in SUN Solaris
SparcV9. after running configure shell, i tried to
compile its related make file with gcc version 3.2.3
but its generated these error lines :

ld: warning: file /usr/local/lib/libstdc++.so:
attempted multiple inclusion of file
Undefined first referenced
symbol in file
std::__default_alloc_template<(bool)1,
(int)0>::_S_refill(unsigned)CommandLineParser.o
std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)CommandLineParser.o
std::__default_alloc_template<(bool)1,
(int)0>::_S_force_newCommandLineParser.o
std::__default_alloc_template<(bool)1,
(int)0>::_S_free_listCommandLineParser.o
std::basic_string<char, std::char_traits<char>,
std::allocator<char>
>::_S_empty_rep_storageCommandLineParser.o
std::__default_alloc_template<(bool)1,
(int)0>::_Lock::_Lock[in-charge]()CommandLineParser.o
std::__default_alloc_template<(bool)1,
(int)0>::_Lock::~_Lock [in-charge]()CommandLineParser.o
std::__default_alloc_template<(bool)1,
(int)0>::_S_node_allocator_lockCommandLineParser.o
std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)CommandLineParser.o
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_create(unsigned,
std::allocator<char>
const&)../../src/cppunit/.libs/libcppunit.so
ld: fatal: Symbol referencing errors. No output written
to .libs/DllPlugInTester
collect2: ld returned 1 exit status
make[2]: *** [DllPlugInTester] Error 1
make[2]: Leaving directory
`/Lite/test/cppunit/src/DllPlugInTester'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Lite/test/cppunit/src'
make: *** [all-recursive] Error 1

Thank you for your help in advace.
Ferkan.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.