Re: Problems installing MySQL++ wrapper for C++ language
I am getting following errors, after running make command on x86_64 Red Hat Linux 5.0 server.
#make
/home/Anmol/Only_C/mysql++-3.0.3/bk-deps g++ -c -o mysqlpp_mysql++.o -I. -fPIC -DPIC -I/usr/include/mysql -g -O2 ./lib/mysql++.cpp
/home/Anmol/Only_C/mysql++-3.0.3/bk-deps g++ -c -o mysqlpp_mystring.o -I. -fPIC -DPIC -I/usr/include/mysql -g -O2 ./lib/mystring.cpp
./lib/mystring.cpp: In member function ‘int mysqlpp::String::compare(const std::string&) const’:
./lib/mystring.cpp:67: error: no matching function for call to ‘max(unsigned int, size_t)’
./lib/mystring.cpp: In member function ‘int mysqlpp::String::compare(const char*) const’:
./lib/mystring.cpp:81: error: no matching function for call to ‘max(unsigned int, size_t)’
make: *** [mysqlpp_mystring.o] Error 1
Please help to fix it.
Regards
Anmol
Subject
Views
Written By
Posted
6159
February 22, 2007 10:57AM
3536
February 23, 2007 05:43AM
3531
February 23, 2007 06:52AM
3595
February 23, 2007 08:35AM
3617
February 23, 2007 08:53AM
3011
February 23, 2007 09:21AM
3676
February 23, 2007 09:43AM
4779
March 06, 2007 06:59PM
3667
March 20, 2007 05:13AM
Re: Problems installing MySQL++ wrapper for C++ language
4400
May 26, 2008 02:58PM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.