查看: 1405|回复: 0
|
mySQL version: 3.23.52 。。undefined reference
[复制链接]
|
|
请大家 帮帮我 ,我 面对这样的问题 when i gcc the program...
出现 error:
/tmp/ccqo364H.o(.text+0x17): undefined reference to `mysql_init'
/tmp/ccqo364H.o(.text+0x3c): undefined reference to `mysql_real_connect'
/tmp/ccqo364H.o(.text+0x51): undefined reference to `mysql_error'
/tmp/ccqo364H.o(.text+0x98): undefined reference to `mysql_real_query'
/tmp/ccqo364H.o(.text+0xb2): undefined reference to `mysql_error'
/tmp/ccqo364H.o(.text+0xe0): undefined reference to `mysql_use_result'
/tmp/ccqo364H.o(.text+0xf8): undefined reference to `mysql_field_count'
/tmp/ccqo364H.o(.text+0x10d): undefined reference to `mysql_fetch_row'
/tmp/ccqo364H.o(.text+0x125): undefined reference to `mysql_num_fields'
/tmp/ccqo364H.o(.text+0x178): undefined reference to `mysql_close'
我用mySQL version: 3.23.52 。。
谢谢 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|