Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

MySQL Connector C++ Make Errors (1 reply)

$
0
0
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?

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>