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

Compiling connector on OpenSuse 11.2 (no replies)

$
0
0
I'm trying to install the C++ connector as outlined on this URL:

http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html#install

and it fails misserably.

I have installed 5.5.0-m2 Source distribution

It fails right away on the make after doing the cmake

[ 1%] Building CXX object
driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.o
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:
In member function ‘std::string sql::mysql::MyVal::getString()’:
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:57:
error: ‘snprintf’ was not declared in this scope
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:63:
error: ‘snprintf’ was not declared in this scope
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:69:
error: ‘snprintf’ was not declared in this scope
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:75:
error: ‘snprintf’ was not declared in this scope
make[2]: *** [driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.o]
Error 1
make[1]: *** [driver/CMakeFiles/mysqlcppconn.dir/all] Error 2


I'm obviously clueless about what to do.

Ruben

Viewing all articles
Browse latest Browse all 527

Trending Articles



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