|
|
Choosing A Webhost: |
RE: unable to build from source: msg#00107db.mysql.c++
> -----Original Message----- > From: Warren Young [mailto:mysqlpp@xxxxxxxxxxx] > Stephen Povilaitis wrote: > > /usr/include/mysql/mysql.h:469: error: too few arguments to > function `int mysql_shutdown(MYSQL*, mysql_enum_shutdown_level)' > > This should have been detected automatically. Please examine > config.log to see why the test (config/mysql_shutdown.m4) > failed to detect the extra argument. Here's an excerpt from my log. In addition to the shutdown test, there are probably a dozen or so other areas where 'confdefs.h' failed in the same manner. configure:21760: checking for level argument to mysql_shutdown() configure:21782: /usr/bin/g++ -o conftest -g -O2 -I/usr/include/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lz >&5 conftest.c: In function `int main()': conftest.c:34: error: invalid conversion from `int' to `mysql_enum_shutdown_level' conftest.c:34: error: initializing argument 2 of `int mysql_shutdown(MYSQL*, mysql_enum_shutdown_level)' configure:21788: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "mysql++" | #define PACKAGE_TARNAME "mysql++" | #define PACKAGE_VERSION "2.0.2" | #define PACKAGE_STRING "mysql++ 2.0.2" | #define PACKAGE_BUGREPORT "plusplus@xxxxxxxxxxxxxxx" | #define PACKAGE "mysql++" | #define VERSION "2.0.2" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBMYSQLCLIENT 1 | /* end confdefs.h. */ | #include <mysql.h> | int | main () | { | mysql_shutdown(0, 0); | ; | return 0; | } > > I'm running Redhat Enterprise > > Which version? Enterprise Workstation Kernel 2.6.9-11 -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: RELEASE: v2.0.3, Warren Young |
|---|---|
| Next by Date: | Re: unable to build from source, Warren Young |
| Previous by Thread: | Re: unable to build from source, Warren Young |
| Next by Thread: | Re: unable to build from source, Warren Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |