PDA

View Full Version : mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol __iob...help


Arex
01-26-2006, 07:50 AM
i am trying compile eqemu using visual c++ 2005 Express, and all looks go good, but on linking phase, i get the next messagge when i try build zoneperl:


------ Build started: Project: Zone, Configuration: ReleasePerl Win32 ------
Linking...
mysqlclient.lib(my_thr_init.obj) : error LNK2019: unresolved external symbol __iob referenced in function _my_thread_global_init
mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol __iob
mysqlclient.lib(my_messnc.obj) : error LNK2001: unresolved external symbol __iob
../build/ZonePerl.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Tornar\Mis documentos\EQEMU\EQEmu-0.6.4-DR1-612\zone\Zone___Win32_ReleasePerl\BuildLog.htm"
Zone - 4 error(s), 0 warning(s)


any idea? plz, i already have added all include, lib, etc. paths like eqemu wikki says..

Ibix
01-26-2006, 08:20 AM
From that thread that you read...

http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx

That fixed all my unresolved external problems with VC++ 2k5.NET.

Ibix
01-26-2006, 08:21 AM
As a side-note, this is in the wrong forum as well. It specifically says not a support forum.

Arex
01-26-2006, 10:09 AM
From that thread that you read...

http://msdn.microsoft.com/vstudio/e...dk/default.aspx

That fixed all my unresolved external problems with VC++ 2k5.NET.

thx, but it was the first thing that i did, i did all things like wikki documentation say for compile eqemu with VC++ 2k5 Express, but i am getting this error

fathernitwit
01-26-2006, 12:43 PM
apparently this has something to do with the fact that your mysql library was built using VC2003, and your trying to link it in vc2005. The suggestion on the internet is to rebuilt the lib with vc2005.. I am not sure how you got a strange lib like this... I have success with stock mysql 4.0.21 binaries.

Arex
01-26-2006, 08:19 PM
thx for fast reply fatherniwit, i was using mysql 4.0.18, i ll try use 4.0.21 and i ll post if i have success

Arex
01-26-2006, 09:19 PM
not luck using 4.0.21, i have changed paths to new mysql binaries location and i have deleted directories path to old mysql binaries, then i have rebuild solution, but i continue getting the same error =/

Arex
01-27-2006, 04:08 AM
need i change configuration of linker input or any other thing? it is frustating =/

Krugus
02-15-2006, 01:46 AM
I'm using Mysql v4.0.26 & ActivePerl 5.8.4.810 with VBC++ Xpress2005

The only time I get that error is when I try to compile zone.exe via perl. Compiles fine if I don't but then I can't use quests if I don't.... so end up using the downloaded compiles (which I am thankful for!).

I'll have some free time tonight so I'll see if I can fix this problem and will report back my findings (if any :p )

EDIT: Ok didn't have as much free time as I thought (as usual).

Ok I can compile my zone.exe via DebugPerl but not Perl :???: Still trying to figure out if its a VBC++ setting, mysql install, perl install or a what. Will try to work on it more this weekend when time allows.

Cripp
04-13-2006, 10:40 AM
I am having this same problem as well. have tried using multiple mysql lib versions, all failed.
1>Linking...
1>mysqlclient.lib(my_thr_init.obj) : error LNK2019: unresolved external symbol __iob referenced in function _my_thread_global_init
1>mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol __iob
1>mysqlclient.lib(my_messnc.obj) : error LNK2001: unresolved external symbol __iob
1>../build/Zone.exe : fatal error LNK1120: 1 unresolved externals

edit: I am using VS .net 2005 btw