activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ymjzxw <>
Subject Undefined symbols of building ActiveMQ-CPP with Sun CC5.8
Date Thu, 21 May 2009 15:20:19 GMT

The was successfully built, but the executable file
example was failed:
Undefined                       first referenced
 symbol                             in file
std::smanip_fill<char,std::char_traits<char> >::smanip_fill(std::ios
&(*)(std::ios &,char),char) ../main/.libs/
int std::char_traits<char>::eof()   ../main/.libs/
void std::__initialize<unsigned>(__type_0&,__type_0) 
std::ostream &std::operator<<(std::ostream &,const char*)
char std::ios::fill(char) ../main/.libs/
int std::string::compare(const std::string &)const
std::ostream &std::operator<<(std::ostream &,char)
std::string::basic_string(const std::allocator<char>&)
int std::ios_base::setf(int,int)       ../main/.libs/
ld: fatal: Symbol referencing errors. No output written to .libs/example

PS: I added -library=stlport4  option when build and
And the CC compiler version is Sun C++ 5.8 2005/10/13 (WS11)

What's going on here? Did it mean I have an old or wrong CC compiler?

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message