11 messages in com.mysql.lists.plusplusCompile error under FC3
FromSent OnAttachments
cgifalco16 Nov 2004 07:48 
Chris Frey17 Nov 2004 10:31 
Warren Young17 Nov 2004 17:34 
cgif...@cgifalcon.com18 Nov 2004 00:00 
Warren Young18 Nov 2004 00:53 
cgif...@cgifalcon.com18 Nov 2004 01:40 
Warren Young18 Nov 2004 03:40 
cgif...@cgifalcon.com18 Nov 2004 04:25 
cgifalco18 Nov 2004 05:34 
Warren Young18 Nov 2004 08:49 
cgif...@cgifalcon.com19 Nov 2004 01:18 
Subject:Compile error under FC3
From:cgifalco (cgif@cgifalcon.com)
Date:11/16/2004 07:48:18 AM
List:com.mysql.lists.plusplus

Hello mysql gurus,

I upgraded to Fedora Core 3 and now I can't compile mysql++-1.7.21. I did [root@localhost mysql++-1.7.21]# ./configure --prefix=/usr/local --includedir=/usr/local/include/mysql++ and it looks OK. Then was [root@localhost mysql++-1.7.21]# make and after some time: ... g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I/usr/include/mysql -g -O2 -c connection.cc -MT connection.lo -MD -MP -MF .deps/connection.TPlo -fPIC -DPIC -o .libs/connection.lo In file included from ./manip.h:8, from ./vallist.h:4, from ./row.h:8, from ./result.h:11, from ./query.h:8, from connection.h:7, from connection.cc:4: ./sql_query.h: In member function `mysqlpp::SQLQuery& mysqlpp::SQLQuery::update(const T&, const T&)': ./sql_query.h:241: error: `sql_use_compare' undeclared (first use this function) ./sql_query.h:241: error: (Each undeclared identifier is reported only once for each function it appears in.) In file included from connection.h:7, from connection.cc:4: ./query.h: In member function `void mysqlpp::Query::storein_sequence(Seq&, mysqlpp::SQLQueryParms&, mysqlpp::query_reset)': ./query.h:80: error: invalid use of undefined type `struct mysqlpp::Connection' ./defs.h:28: error: forward declaration of `struct mysqlpp::Connection' ./query.h: In member function `void mysqlpp::Query::storein_set(Set&, mysqlpp::SQLQueryParms&, mysqlpp::query_reset)': ./query.h:86: error: invalid use of undefined type `struct mysqlpp::Connection' ./defs.h:28: error: forward declaration of `struct mysqlpp::Connection' ./query.h: In member function `void mysqlpp::Query::storein_sequence(Sequence&, const char*)': ./query.h:91: error: invalid use of undefined type `struct mysqlpp::Connection' ./defs.h:28: error: forward declaration of `struct mysqlpp::Connection' ./query.h: In member function `void mysqlpp::Query::storein_set(Set&, const char*)': ./query.h:96: error: invalid use of undefined type `struct mysqlpp::Connection' ./defs.h:28: error: forward declaration of `struct mysqlpp::Connection' ./query.h: In member function `void mysqlpp::Query::storein(T&, mysqlpp::SQLQueryParms&, mysqlpp::query_reset)': ./query.h:102: error: invalid use of undefined type `struct mysqlpp::Connection' ./defs.h:28: error: forward declaration of `struct mysqlpp::Connection' ./query.h: In member function `void mysqlpp::Query::storein(T&, const char*)': ./query.h:107: error: invalid use of undefined type `struct mysqlpp::Connection' ./defs.h:28: error: forward declaration of `struct mysqlpp::Connection' make[3]: *** [connection.lo] Error 1 make[3]: Leaving directory `/home/it-sokol/mysql++/mysql++-1.7.21/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/it-sokol/mysql++/mysql++-1.7.21/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/it-sokol/mysql++/mysql++-1.7.21' make: *** [all] Error 2