|
Still undefined references: msg#00011db.mysql.c++
Hi, my MySQL++ installation does still not work. I've installed it the way Matthiew Leach and Denis Rampnoux have figured out last week. Most of the linker errors don't occur anymore, but there are still some. What library is missing? My C++ program looks like this: #include <iostream.h> #include <iomanip.h> #include <sqlplus.hh> int main(){ return 0; } If I make "g++ main.cc -o main" I get the following errors: /tmp/ccPlQLcI.o(.rodata+0x120): undefined reference to `mysql_date type_info node' /tmp/ccPlQLcI.o(.rodata+0x158): undefined reference to `mysql_time type_info node' /tmp/ccPlQLcI.o: In function `MysqlDate type_info function': /tmp/ccPlQLcI.o(.gnu.linkonce.t.__tf9MysqlDate+0x18): undefined reference to `mysql_date type_info function' /tmp/ccPlQLcI.o: In function `MysqlTime type_info function': /tmp/ccPlQLcI.o(.gnu.linkonce.t.__tf9MysqlTime+0x18): undefined reference to `mysql_time type_info function' collect2: ld returned 1 exit status My system is a SuSE 7.1, kernel 2.2.18, gcc and g++ 2.95.2. Packages: - mysql 3.23.30-2 - mysql-client 3.23.30-2 - mysql-devel 3.23.30-2 - mysql-shared 3.23.30-2 Does somebody know how I might get it to work? Thank you very much for your help. Regards, Reto Stalder ------------------------------ Visit us on WWW.VOLLEYTOTAL.CH |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Résultats de scan du RAV AntiVirus: 00011, RAV |
|---|---|
| Next by Date: | Re: Still undefined references: 00011, James E. |
| Previous by Thread: | Automake Issues?i: 00011, Matthew Leach |
| Next by Thread: | Re: Still undefined references: 00011, James E. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |