dbTalk Databases Forums  

Issue when compiling...

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Issue when compiling... in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ash Christopher
 
Posts: n/a

Default Issue when compiling... - 05-27-2005 , 12:54 PM






------_=_NextPart_001_01C56243.6B3F09AE
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I am trying to compile some code, and I seem to be running into a whole
lot of problems. Searching with google has been fruitless.

=20

Maybe some of you might have an idea of what this means, or could point
me in the right direction:

=20

=20

/usr/lib/libmysqlpp.a(connection.o)(.text+0x19d): In function
`mysqlpp::Connection::use(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_query'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x1d0): In function
`mysqlpp::Connection::use(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_error'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x258): In function
`mysqlpp::Connection::use(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_use_result'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x425): In function
`mysqlpp::Connection::store(std::basic_string<char ,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_query'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x458): In function
`mysqlpp::Connection::store(std::basic_string<char ,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_error'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x4e0): In function
`mysqlpp::Connection::store(std::basic_string<char ,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_store_result'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x5e6): In function
`mysqlpp::Connection::exec(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':

: undefined reference to `mysql_query'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x614): In function
`mysqlpp::Connection::exec(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':

: undefined reference to `mysql_error'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x7b1): In function
`mysqlpp::Connection::execute(std::basic_string<ch ar,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_query'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x7e4): In function
`mysqlpp::Connection::execute(std::basic_string<ch ar,
std::char_traits<char>, std::allocator<char> > const&, bool)':

: undefined reference to `mysql_error'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x932): In function
`mysqlpp::Connection::info()':

: undefined reference to `mysql_info'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x983): In function
`mysqlpp::Connection::shutdown()':

: undefined reference to `mysql_shutdown'

/usr/lib/libmysqlpp.a(connection.o)(.text+0x9ac): In function
`mysqlpp::Connection::shutdown()':

: undefined reference to `mysql_error'

/usr/lib/libmysqlpp.a(connection.o)(.text+0xa9f): In function
`mysqlpp::Connection::reload()':

: undefined reference to `mysql_refresh'

/usr/lib/libmysqlpp.a(connection.o)(.text+0xac8): In function
`mysqlpp::Connection::reload()':

: undefined reference to `mysql_error'


------_=_NextPart_001_01C56243.6B3F09AE--

Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: Issue when compiling... - 05-27-2005 , 01:47 PM






Ash Christopher wrote:

Quote:
Searching with google has been fruitless.
Searching on the MySQL++ mailing list might have been more helpful.

Quote:
: undefined reference to `mysql_query'
You're failing to also link to the MySQL C API library. See
examples/Makefile.simple.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.