List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:January 15 2006 8:42pm
Subject:Re: undefined reference in libmysqlpp
View as plain text  
On Sun, Jan 15, 2006 at 11:48:40AM -0800, Sandeep Gupta wrote:
> Hi Dave,
> 
> Removed all dependencies. Still the same error. I am running Fedora
> Core 4 with gcc 3.2.  Here is the transcript.
> 
> g++32 -g    -I.   -o tester tester.o   -L/usr/lib/mysql/
> -L/usr/local/lib/  -lpthread -lmysqlclient -lmysqlpp
> /usr/local/lib//libmysqlpp.so: undefined reference to
> `__gnu_cxx::__exchange_and_add(int volatile*, int)'
> /usr/local/lib//libmysqlpp.so: undefined reference to
> `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
> /usr/local/lib//libmysqlpp.so: undefined reference to
> `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
> /usr/local/lib//libmysqlpp.so: undefined reference to
> `__gnu_cxx::__pool<true>::_M_initialize(void (*)(void*))'
> /usr/local/lib//libmysqlpp.so: undefined reference to
> `std::basic_string<char, std::char_traits<char>, std::allocator<char>

Did you compile your own version of mysql++ or use an RPM?

- Chris

Thread
undefined reference in libmysqlppSandeep Gupta15 Jan
Re: undefined reference in libmysqlppSandeep Gupta15 Jan
  • Re: undefined reference in libmysqlppChris Frey15 Jan
Re: undefined reference in libmysqlppSandeep Gupta15 Jan