Hi,
I am getting the following when I do a make. I am using mysql Ver 14.7
Distrib 4.1.18.
Any one have any ideas?
g++ -o test_cpool test_cpool_cpool.o -L. -lmysqlclient -lmysqlpp
./libmysqlpp.so: undefined reference to `mysql_thread_end'
./libmysqlpp.so: undefined reference to `mysql_set_server_option'
./libmysqlpp.so: undefined reference to `__gnu_cxx::__exchange_and_add(int
volatile*, int)'
./libmysqlpp.so: undefined reference to
`std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
./libmysqlpp.so: undefined reference to `mysql_more_results'
./libmysqlpp.so: undefined reference to
`std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
./libmysqlpp.so: undefined reference to `mysql_next_result'
./libmysqlpp.so: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
./libmysqlpp.so: undefined reference to `mysql_thread_init'
./libmysqlpp.so: undefined reference to
`std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
./libmysqlpp.so: undefined reference to
`std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
./libmysqlpp.so: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned,
unsigned, std::allocator<char> const&)'
./libmysqlpp.so: undefined reference to `std::basic_stringbuf<char,
std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned,
unsigned)'
collect2: ld returned 1 exit status
make: *** [test_cpool] Error 1