MySQL++ installation error

This is a discussion on MySQL++ installation error within the MySQL Database forums, part of the Database Forums category; Hi there, I am getting following errors, after running make command on x86_64 Red Hat Linux 5.0 server. #make /...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-26-2008
Manu
 
Posts: n/a
Default MySQL++ installation error

Hi there,

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
Manu
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0