Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2006, 07:50 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol __iob...help

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:

Code:
------ 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..
Reply With Quote
  #2  
Old 01-26-2006, 08:20 AM
Ibix
Sarnak
 
Join Date: Jan 2006
Posts: 40
Default

From that thread that you read...

http://msdn.microsoft.com/vstudio/ex...k/default.aspx

That fixed all my unresolved external problems with VC++ 2k5.NET.
Reply With Quote
  #3  
Old 01-26-2006, 08:21 AM
Ibix
Sarnak
 
Join Date: Jan 2006
Posts: 40
Default

As a side-note, this is in the wrong forum as well. It specifically says not a support forum.
Reply With Quote
  #4  
Old 01-26-2006, 10:09 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

Quote:
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
Reply With Quote
  #5  
Old 01-26-2006, 12:43 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

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.
Reply With Quote
  #6  
Old 01-26-2006, 08:19 PM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

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
Reply With Quote
  #7  
Old 01-26-2006, 09:19 PM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

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 =/
Reply With Quote
  #8  
Old 01-27-2006, 04:08 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

need i change configuration of linker input or any other thing? it is frustating =/
Reply With Quote
  #9  
Old 02-15-2006, 01:46 AM
Krugus
Sarnak
 
Join Date: Dec 2005
Location: the Void
Posts: 40
Default

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.

Last edited by Krugus; 02-17-2006 at 09:36 AM..
Reply With Quote
  #10  
Old 04-13-2006, 10:40 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default :(

I am having this same problem as well. have tried using multiple mysql lib versions, all failed.
Code:
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
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:29 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3