win98+devcpp+mysql3.23编译时出错,请求帮助。我的分数全给你!
我的运行环境:win98+mysql3.23+dev-c++ 会出现下边的错误提示,不能编译,请帮忙。
编译器: Default compiler
执行 gcc.exe...
gcc.exe "D:\u_c\mysql01.c" -o "D:\u_c\mysql01.exe" -L "c:\mysql\lib\opt\mysqlclient.lib" -L "c:\mysql\lib\opt\zlib.lib" -L "c:\mysql\lib\opt\libmySQL.lib" -L "c:\mysql\lib\opt\libmySQL.dll" -I"C:\DEV-CPP\include" -L"C:\DEV-CPP\lib"
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x3e7):mysql01.c: undefined reference to `mysql_init@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x421):mysql01.c: undefined reference to `mysql_real_connect@32'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x45e):mysql01.c: undefined reference to `mysql_query@8'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x483):mysql01.c: undefined reference to `mysql_close@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x4c1):mysql01.c: undefined reference to `mysql_query@8'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x4e6):mysql01.c: undefined reference to `mysql_close@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x524):mysql01.c: undefined reference to `mysql_query@8'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x539):mysql01.c: undefined reference to `mysql_close@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x559):mysql01.c: undefined reference to `mysql_store_result@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x570):mysql01.c: undefined reference to `mysql_num_rows@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x5ae):mysql01.c: undefined reference to `mysql_fetch_field@4'C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x617):mysql01.c: undefined reference to `mysql_fetch_row@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x63c):mysql01.c: undefined reference to `mysql_num_fields@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x748):mysql01.c: undefined reference to `mysql_free_result@4'C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x76b):mysql01.c: undefined reference to `mysql_close@4'
C:\WINDOWS\TEMP/ccYWkjgb.o(.text+0x788):mysql01.c: undefined reference to `mysql_close@4'
执行结束
问题点数:0、回复次数:0Top




