Hi,
I am trying to build the mysql++-2.0.7 examples on Solaris 8 using CC
5.3 But get the following error:
/bin/bash ../libtool --mode=link CC -g -L/usr/local/mysql/lib/mysql
-library=Cstd -o resetdb resetdb.o util.o ../lib/libmysqlpp.la -lz
-lmysqlclient CC -g -o .libs/resetdb resetdb.o util.o
-L/usr/local/mysql/lib/mysql -library=Cstd ../lib/.libs/libmysqlpp.so
-L/usr/local/lib -L/usr/lib -L/usr/openwin/lib
/usr/local/mysql/lib/mysql/libmysqlclient.so -lz -lcrypt -lgen -lsocket
-lnsl -lm -R/usr/local/lib -R/usr/local/mysql/lib/mysql -R/usr/lib
-R/usr/openwin/lib
ild: (undefined symbol)
std::vector<mysqlpp::SQLString,std::allocator<mysqlpp::SQLString>
>&std::vector<mysqlpp::SQLString,std::allocator<mysqlpp::SQLString>
>::operator=(const
std::vector<mysqlpp::SQLString,std::allocator<mysqlpp::SQLString> >&) --
referenced in ../lib/.libs/libmysqlpp.so
ild: (undefined symbol)
std::deque<mysqlpp::Connection::OptionInfo,std::allocator<mysqlpp::Conne
ction::OptionInfo> >::iterator
std::deque<mysqlpp::Connection::OptionInfo,std::allocator<mysqlpp::Conne
ction::OptionInfo>
>::erase(std::deque<mysqlpp::Connection::OptionInfo,std::allocator<mysql
pp::Connection::OptionInfo>
>::iterator,std::deque<mysqlpp::Connection::OptionInfo,std::allocator<my
sqlpp::Connection::OptionInfo> >::iterator) -- referenced in
../lib/.libs/libmysqlpp.so
Can someone please let me know whats going wrong and whats the solution
to correct this.
Regards,
Manik Gupta
Manik Gupta
Senior Software Engineer
manikgupta@stripped
Attachment: [text/html]
Attachment: [text/html]