List:MySQL++« Previous MessageNext Message »
From:Stephen Povilaitis Date:August 24 2005 7:35pm
Subject:unable to build from source
View as plain text  
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!

Thread
unable to build from sourceStephen Povilaitis24 Aug
  • Re: unable to build from sourceWarren Young25 Aug
    • RE: unable to build from sourceSteve Povilaitis25 Aug
      • Re: unable to build from sourceWarren Young25 Aug
        • RE: unable to build from sourceSteve Povilaitis25 Aug