Hi,
I recently updated KDE to 3.4.2, which also updated libstdc++ to
libstdc++6. After this update I tried to compile a project that has
compiled without problems before and got a bunch of undefined
references (see below). I recompiled mysql++ and updated binutils but
that had no effect.
Any ideas what could've caused this? I'm using g++ 4.0.2 on Debian.
-----
/usr/lib/libmysqlpp.so: undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
/usr/lib/libmysqlpp.so: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >::seekp(long,
std::_Ios_Seekdir)'
/usr/lib/libmysqlpp.so: undefined reference to
`std::basic_streambuf<char, std::char_traits<char>
>::_M_out_cur_move(long)'
/usr/lib/libmysqlpp.so: undefined reference to
`std::basic_istream<char, std::char_traits<char> >::seekg(long,
std::_Ios_Seekdir)'
/usr/lib/libmysqlpp.so: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_create(unsigned int, std::allocator<char> const&)'
/usr/lib/libmysqlpp.so: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage'
/usr/lib/libmysqlpp.so: undefined reference to
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned
int)'
collect2: ld returned 1 exit status
-----
- Ville