![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
debug/query.o(.text+0xd6b):query.cpp: undefined reference to `mysql_more_results @4' |
#3
| |||
| |||
|
|
debug/query.o(.text+0xd6b):query.cpp: undefined reference to `mysql_more_results @4' |
#4
| |||
| |||
|
|
I did this: mkdir c:\mysql\lib\gcc cd c:\mysql\lib\gcc dlltool -k -d c:\mysql++\libmysqlclient.def -l libmysqlclient.a and then typed makemake mingw and make (renamed mingw32-make to simply make). It compiles fine until it suddenly hits the before mentioned error. --Death Gauge "How do you gauge your death?!" ----Original Message Follows---- From: Warren Young <mysqlpp (AT) etr-usa (DOT) com To: MySQL++ Mailing List <plusplus (AT) lists (DOT) mysql.com Subject: Re: Issue with MySQL++ Date: Mon, 14 Nov 2005 15:51:47 -0700 Death Gauge wrote: debug/query.o(.text+0xd6b):query.cpp: undefined reference to `mysql_more_results @4' This is due to not using the correct DEF file when creating the import library. Follow the instructions in README.mingw. It still covers the DLL linking method, even though it isn't supported right now. -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/g...ave/direct/01/ |
#5
| |||
| |||
|
|
I did this: mkdir c:\mysql\lib\gcc cd c:\mysql\lib\gcc dlltool -k -d c:\mysql++\libmysqlclient.def -l libmysqlclient.a and then typed makemake mingw and make (renamed mingw32-make to simply make). It compiles fine until it suddenly hits the before mentioned error. |
#6
| |||
| |||
|
|
I did this: mkdir c:\mysql\lib\gcc cd c:\mysql\lib\gcc dlltool -k -d c:\mysql++\libmysqlclient.def -l libmysqlclient.a and then typed makemake mingw and make (renamed mingw32-make to simply make). It compiles fine until it suddenly hits the before mentioned error. |
#7
| |||
| |||
|
|
Oddly that didn't fix it. I added @4 to the end of both errors and then did makemake mingw and make just to get the same errors. |
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |