MySQL Forums
Forum List  »  Connector/C++

MySQL Connector C++ Make Errors
Posted by: Peter Gilson
Date: February 10, 2016 05:01AM

Hello,

I am trying to run make on the c++ connector but i receive the following errors:


make
Scanning dependencies of target mysqlcppconn
[ 0%] Building CXX object driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.o
[ 1%] Building CXX object driver/CMakeFiles/mysqlcppconn.dir/mysql_art_rset_metadata.o
[ 2%] Building CXX object driver/CMakeFiles/mysqlcppconn.dir/mysql_connection.o
/usr/labor/bin/PMG/mysql-connector-c++-1.0.5/driver/mysql_connection.cpp: In member function `void sql::mysql::MySQL_Connection::init(std::map<std::string, sql::ConnectPropertyVal, std::less<std::string>, std::allocator<std::pair<const std::string, sql::ConnectPropertyVal> > >&)':
/usr/labor/bin/PMG/mysql-connector-c++-1.0.5/driver/mysql_connection.cpp:367: error: `MYSQL_OPT_RECONNECT' was not declared in this scope
/usr/labor/bin/PMG/mysql-connector-c++-1.0.5/driver/mysql_connection.cpp:367: warning: unused variable 'MYSQL_OPT_RECONNECT'
/usr/labor/bin/PMG/mysql-connector-c++-1.0.5/driver/mysql_connection.cpp:371: error: `MYSQL_REPORT_DATA_TRUNCATION' was not declared in this scope
/usr/labor/bin/PMG/mysql-connector-c++-1.0.5/driver/mysql_connection.cpp:371: warning: unused variable 'MYSQL_REPORT_DATA_TRUNCATION'
make[2]: *** [driver/CMakeFiles/mysqlcppconn.dir/mysql_connection.o] Error 1
make[1]: *** [driver/CMakeFiles/mysqlcppconn.dir/all] Error 2
make: *** [all] Error 2

Installing on Linux Red Hat Enterprise Linux ES release 4 (Nahant Update 5)

I have the following MySQL server version: server version: 4.1.22-standard-log

I am not sure how to check the MySQL client library version

Any ideas?

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Connector C++ Make Errors
2440
February 10, 2016 05:01AM


Sorry, you can't reply to this topic. It has been closed.

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.