When i try to compile a test application in mysql i
get an error.
/home/code -> g++ -I/usr/include/mysql test.c
/tmp/ccHa6dwX.o: In function `main':
/tmp/ccHa6dwX.o(.text+0x2e):
undefined reference to
`MysqlConnection::MysqlConnection(char const *, char
const *, char const *, char const *, bool)'
/tmp/ccHa6dwX.o(.text+0x44):
undefined reference to
`MysqlConnection::~MysqlConnection(void)' collect2: ld
returned 1 exit status this is the code: #include
#include #include int main() {
Connection con("mydb"); }
What could be wrong?
With regards,
Prashanth
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/