logo       

Undefined references.: msg#00000

db.mysql.c++

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