MySQL Forums
Forum List  »  Connector/C++

mysql-connector-c++ build failure
Posted by: Bernd Stramm
Date: October 05, 2009 10:02PM

There is a build problem in 3 files, they need to include stdio.h.
Since they don't, the build from source fails, looking for things like printf.

The files are:

driver/mysql_art_resultset.cpp
driver/mysql_resultbind.cpp
test/unit/classes/resultsetmetadata.cpp

This is from the file
mysql-connector-c++-1.0.5-tar.gz,
downloaded Oct 4, 2009.

This happens on Fedora 11, with gcc 4.4.1.

I added the #include <stdio.h> to the 3 files here, and things appear to work fine. You might want to check that for the distribution, if it hasn't come up yet.

Options: ReplyQuote


Subject
Views
Written By
Posted
mysql-connector-c++ build failure
3217
October 05, 2009 10:02PM


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.