|
From: <t5...@ya...> - 2001-09-26 08:46:37
|
dear all, i try to compile c source file that connect to mysql server i'm using mysql for win and mingw compiler with Dev-c++ as IDE. when i compile it (using libmysql.lib as library), i got this messeges on linker msg: f:\desktop\mysqlc\m.o(.text+0x78):m.c: undefined reference to `mysql_connect@16' f:\desktop\mysqlc\m.o(.text+0x9b):m.c: undefined reference to `mysql_close@4' f:\desktop\mysqlc\m.o(.text+0xb0):m.c: undefined reference to `mysql_error@4' when i compile it (using mysqlclient.lib as library), i got this messeges on linker msg: C:\DEV-C_~1\Bin\ld.exe: F:\desktop\mysqlc\mysqlclient.lib(./release/libmysql.obj): warning: ignoring duplicate section `.text' C:\DEV-C_~1\Bin\ld.exe: F:\desktop\mysqlc\mysqlclient.lib(./release/libmysql.obj): warning: ignoring duplicate section `.text' ... ... ... buit i got exe file, when i try run it, i got an error.. please help me thx _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |