|
RE: Undefined references.: msg#00006db.mysql.c++
Hey, No I havent managed to sort out the problem yet. I have made sure that the mysql devel libs are installed. I have made sure that the mysql shared libs are installed. I have made sure which gcc version I am using (2.95.3) I have made sure that I include the libsqlplus in my linker path, as well as the mysql libraries. I have attached a text dump of the errors. From the functions, it seems like I am missing some sort of standard C/C++ library, but I have a lot of C programs programs that compile without a problem. Does anyone know / have a list of all dependencies for mysql++? TIA > -----Original Message----- > From: Reto Stalder [mailto:retstald@xxxxxxxxxx] > Sent: 05 September 2002 04:49 > To: Matthew Leach > Subject: AW: Undefined references. > > > Hi, > > I have exactly the same problem as you. My system is a SuSE > 7.1, 2.4 kernel > and the same packages installed as you. Have you figured out where the > problem lies so far? (I'm not sure if every email on this > topic was sent to > the list). > > Regards, > Reto Stalder > > > 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> |
|---|---|---|
| Previous by Date: | Résultats de scan du RAV AntiVirus: 00006, RAV |
|---|---|
| Next by Date: | Automake Issues?: 00006, Matthew Leach |
| Previous by Thread: | Re: MYSQL++ Undefined references.i: 00006, Richard Fox |
| Next by Thread: | AW: Error on exit: 00006, Nils |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |