logo       

Re: Undefined references.: msg#00001

db.mysql.c++

Subject: Re: Undefined references.

Hi Matthew,

Are you sure you are not told by the README (or INSTALL I don't remember) to do :
1. automake
2. ./configure
3. make
4. make install

For me it changed many things

Denis.

Matthew Leach wrote:

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