logo       

Re: MYSQL++ Undefined references.: msg#00002

db.mysql.c++

Subject: Re: MYSQL++ Undefined references.


What are your linker error messages? You should use gcc 3.x, gcc 2.96
sucks and has never given me anything but problems it is a bug nest. Do not
use it ever if possible.

----- Original Message -----
From: "Matthew Leach" <matthewl@xxxxxxxxxxxxxxxxxxxxxx>
To: <plusplus@xxxxxxxxxxxxxxx>
Sent: Tuesday, September 03, 2002 1:46 AM
Subject: Undefined references.


Hi all,

I've just managed to install mySQL++ on my Linux box (SuSE 8, kernel =
2.4.18-4GB)
following the instructions in the README.
ie. ./configure; make; make install;

This worked fine.

I then create a simple C program, including the sqlplus.hh header:

#include <sqlplus.hh>
#include <iostream.h>
#include <iomanip.h>

int main() {
return 0;
}

But I get a lot of errors with undefined references.

I have the following mysql packages installed:
mysql-devel-3.23.48-19
mysql-3.23.48-19
mysql-client-3.23.48-19
mysql-shared-3.23.48-19

I have the following gcc packages:
gcc-2.95.3-216
gcc30-3.0.4-25


Am I missing a library or similar?
Any ideas?

TIA

--
Matthew Leach
Developer
--




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise