activemq-dev mailing list archives

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

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


PS: I added -library=stlport4  option when build libactivemq-cpp.so and
example.
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?

Thanks
-- 
View this message in context: http://www.nabble.com/Undefined-symbols-of-building-ActiveMQ-CPP-with-Sun-CC5.8-tp23655010p23655010.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message