List:MySQL++« Previous MessageNext Message »
From:Ouellette_Brad Date:July 7 2005 7:09pm
Subject:FW: Installing Mysql++ on a SLES 9 system
View as plain text  
Hello, 
            I tried installing 1.7.40 version of mysql++ onto a Suse system.
I have mysql version 4.1.12 installed from source. I tried compiling mysql++
from the source. ./configure seems to succeed, but make fails claiming
"undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_S_empty_rep_storage'" I was going to attached the
log from ./configure and make, but it seems the list doesn't have enough
room....
 
Thanks for any help,
Bradley Ouellette
 
 
g++ -g -O2 -o .libs/resetdb resetdb.o util.o  -L/usr/lib/mysql
../lib/.libs/libmysqlpp.so /usr/lib/mysql/libmysqlclient.a -lcrypt -lnsl -lm
-lz -Wl,--rpath -Wl,/usr/local/lib
resetdb.o(.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_R
KS6_+0x1c): In function `std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/g++/bits/stl_tree.h:1039: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage'
resetdb.o(.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_R
KS6_+0x26):/usr/include/g++/bits/stl_tree.h:235: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage'
resetdb.o(.gnu.linkonce.t._ZNSt6vectorIN7mysqlpp9SQLStringESaIS1_EE14_M_fill
_insertEN9__gnu_cxx17__normal_iteratorIPS1_S3_EEjRKS1_+0xeb): In function
`std::vector<mysqlpp::SQLString, std::allocator<mysqlpp::SQLString>
>::_M_fill_insert(__gnu_cxx::__normal_iterator<mysqlpp::SQLString*,
std::vector<mysqlpp::SQLString, std::allocator<mysqlpp::SQLString> > >,
unsigned, mysqlpp::SQLString const&)':
/usr/include/g++/bits/stl_alloc.h:430: undefined reference to
`std::__default_alloc_template<(bool)1, (int)0>::_S_force_new'

Thread
FW: Installing Mysql++ on a SLES 9 systemOuellette_Brad7 Jul
  • Re: FW: Installing Mysql++ on a SLES 9 systemChris Frey8 Jul