|
|
Choosing A Webhost: |
unable to build from source: msg#00097db.mysql.c++
Hi, I'm trying to build mysql++2.0.2 from the source and I get the following output/error when I run make: make make all-recursive make[1]: Entering directory `/home/xanadu/Desktop/mysql++-2.0.2' Making all in lib make[2]: Entering directory `/home/xanadu/Desktop/mysql++-2.0.2/lib' if /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I..-I../lib -I/usr/include/mysql -g -O2 -MT connection.lo -MD -MP -MF ".deps/connection.Tpo" -c -o connection.lo connection.cpp; \ then mv -f ".deps/connection.Tpo" ".deps/connection.Plo"; else rm -f ".deps/connection.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I/usr/include/mysql -g -O2 -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c connection.cpp -fPIC -DPIC -o .libs/connection.o connection.cpp: In member function `bool mysqlpp::Connection::shutdown()': /usr/include/mysql/mysql.h:469: error: too few arguments to function `int mysql_shutdown(MYSQL*, mysql_enum_shutdown_level)' connection.cpp:249: error: at this point in file make[2]: *** [connection.lo] Error 1 make[2]: Leaving directory `/home/xanadu/Desktop/mysql++-2.0.2/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/xanadu/Desktop/mysql++-2.0.2' make: *** [all] Error 2 Any idea how I can resolve this? I'm running Redhat Enterprise and MySQL v4.1.10a thanks in advance!
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Can't run example!!, Warren Young |
|---|---|
| Next by Date: | Re: Can't run example!!, Mehran Ziadloo |
| Previous by Thread: | Can't run example!!, Mehran Ziadloo |
| 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 |