List:MySQL++« Previous MessageNext Message »
From:Suhas Nayak Date:January 25 2006 7:32pm
Subject:problems with make
View as plain text  
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> 
 >::~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> 
 >::_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

Thread
problems with makeSuhas Nayak25 Jan
  • Re: problems with makeWarren Young26 Jan