Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

unable to build from source: msg#00097

db.mysql.c++

Subject: unable to build from source

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>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation