Bug #47402 | MySQL 5.1.34 mysqlclient.lib gives error on compilation. | ||
---|---|---|---|
Submitted: | 17 Sep 2009 9:06 | Modified: | 21 Sep 2009 12:30 |
Reporter: | Amit Bora | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
Version: | 5.1.34 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[17 Sep 2009 9:06]
Amit Bora
[17 Sep 2009 9:44]
Peter Laursen
I think you should tell the compiler version. We had such problems (if I understand) depending on the Visual Studio version and the .lib version used. We had to recompile the 5.1.38 .lib on VS2003 (it worked out of the box on VS2008 and also some not quite recent 5.0.x .lib worked out of the box on VS2003). I do not know if MySQL changed their Windows build environment. Peter (not a MySQL person)
[17 Sep 2009 10:10]
Amit Bora
I am building my code using Visual Studio 6.0 compiler on Windows 2000 server machine.
[17 Sep 2009 10:13]
Sveta Smirnova
Thank you for the report. Please provide your compiler version and command you use to compile (or linking options if you use graphic interface). Also, please, try current version 5.1.38 as this can be fixed already.
[17 Sep 2009 11:26]
Amit Bora
I have used following link options: mysqlclient.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"../tryD.pdb" /debug /machine:I386 /nodefaultlib:"libcmt.lib" /out:"../try.dll" /implib:"Debug/tryD.lib" /pdbtype:sept /libpath:"../MySQL5134/lib/" /libpath:"
[21 Sep 2009 12:30]
MySQL Verification Team
I couldn't repeat with current source tree. Compiled with VS2005 and: c:\build\mysql-5.1\mysql-test>cmake --version cmake version 2.6-patch 3 c:\build\mysql-5.1\mysql-test>bison --version GNU Bison version 1.28 c:\build\mysql-5.1\mysql-test>