Bug #708 mysqlclient.lib, unresolved external symbol __ftol2
Submitted: 24 Jun 2003 4:12 Modified: 25 Jun 2003 13:26
Reporter: Eamon Doyle Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.0.13 OS:Microsoft Windows (Win2000)
Assigned to: CPU Architecture:Any

[24 Jun 2003 4:12] Eamon Doyle
Description:
I've an application that links in the static MySQL client library, mysqlclient.lib. With MySQL release 4.0.12, everything was fine. However, when I upgraded to using 4.0.13, I can no longer build my application due to an unresolved external symbol, as below.
I'm using Microsoft Visual C++, 6.0. 
I attempted to link in the additional libraries supplied in the lib\opt libraries but the problem persists.

Note. On both Solaris the upgrade to 4.0.13 went fine.

I also tried using the libraries supplied with MySQL 4.1.0-alpha but the problem also exists with these libraries.

*** Making Service... ***
        NMAKE /nologo /f Service.mak CFG="Service - Win32 Debug"
        link.exe @C:\DOCUME~1\Eamon\LOCALS~1\Temp\nma00828.
LINK : LNK6004: ..\..\..\shared\bin\mdsD.exe not found or not built by the last incremental link; performing full link
mysqlclient.lib(password.obj) : error LNK2001: unresolved external symbol __ftol2
..\..\..\shared\bin\mdsD.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.

How to repeat:
Attempt to compile and link a Win2000 application against the mysqlclient.lib library. The examples supplied with the production release do not compile due to a number of minor errors.
[25 Jun 2003 6:17] Sergei Golubchik
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in MySQL.

it's bugreport #704