I'm running Mac OS 10.3.9. I used ./configure
--with-mysql=/usr/local/mysql to generate the makefile. When I run the
makefile, it produces the error below and then stops.
g++ -g -O2 -o .libs/resetdb resetdb.o util.o -L/usr/local/mysql/lib
-L../lib/.libs -lmysqlpp -lz -lmysqlclient
ld: Undefined symbols:
std::allocator<char>::~allocator [unified]()
std::basic_string<char, std::char_traits<char>, std::allocator<char>
Quote:
::~basic_string [unified]()
std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*,
|
unsigned long)
std::__default_alloc_template<(bool)1, (int)0>::_S_force_new
std::__default_alloc_template<(bool)1, (int)0>::_S_free_list
std::__default_alloc_template<(bool)1, (int)0>::_S_node_allocator_lock
std::__default_alloc_template<(bool)1, (int)0>::_S_refill(unsigned long)
std::basic_string<char, std::char_traits<char>, std::allocator<char>
Quote:
::_S_empty_rep_storage
std::basic_string<char, std::char_traits<char>, std::allocator<char
::_Rep::_S_create(unsigned long, std::allocator<char> const&)
std::basic_streambuf<char, std::char_traits<char
::basic_streambuf[unified]()
std::basic_streambuf<char, std::char_traits<char> >::~basic_streambuf
|
[unified]()
std::__default_alloc_template<(bool)1, (int)0>::_Lock::_Lock[unified]()
std::__default_alloc_template<(bool)1, (int)0>::_Lock::~_Lock
[unified]()
std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned long)
make[2]: *** [resetdb] Error 1
make[1]: *** [all-recursive] Error 1
Any ideas on how I can fix this or where it is coming from? My g++ is
version 3.3, though I did try to install a newer version (3.4.5). I am
a novice when it comes to setting up gcc etc. Thanks in advance for
any help.
-Suhas
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw