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 05-04-2005, 11:51 AM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

This solution works, thanks for the tip. Unfortunately I still cannot compile this, because of unresolved externals that are pointing to files that I cannot find in the dump. I'm not an expert or anything but I've been able (up to this point) to figure out what files are missing from the project from the error messages and finish the compiles flawlessly.

When compiling world.exe, I originally had about 30 or so unresolved externals, after I fixed what I could I ended up with the following unresolved externals:
Quote:
opcodemgr.obj : error LNK2001: unresolved external symbol "char const * * OpcodeNames" (?OpcodeNames@@3PAPBDA)
EQPacket.obj : error LNK2001: unresolved external symbol "char const * * OpcodeNames" (?OpcodeNames@@3PAPBDA)
I am assuming that I need to include a file called OpcodeNames.cpp ...but one does not exist in the project ..so is there another file or something? A bit confused on this.

When compiling zone.exe the story is a bit different. Lots of unresolved externals on the default build, I was able to bring it down to 13. They are as follows:
Quote:
Zone error LNK2019: unresolved external symbol "public: __thiscall TitleManager::TitleManager(void)" (??0TitleManager@@QAE@XZ) referenced in function _$E13
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::MovePC(char const *,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXPBDMMME_NW4ZoneMode@@@Z)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::MovePC(char const *,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXPBDMMME_NW4ZoneMode@@@Z)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::SetBindPoint(int,float,float,float)" (?SetBindPoint@Client@@QAEXHMMM@Z) referenced in function "void __cdecl command_bind(class Client *,class Seperator const *)" (?command_bind@@YAXPAVClient@@PBVSeperator@@@Z)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::SetBindPoint(int,float,float,float)" (?SetBindPoint@Client@@QAEXHMMM@Z)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::SetBindPoint(int,float,float,float)" (?SetBindPoint@Client@@QAEXHMMM@Z)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::MovePC(float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXMMME_NW4ZoneMode@@@Z) referenced in function "void __cdecl command_goto(class Client *,class Seperator const *)" (?command_goto@@YAXPAVClient@@PBVSeperator@@@Z)
Zone error LNK2001: unresolved external symbol "public: virtual void __thiscall NPC::Gate(void)" (?Gate@NPC@@UAEXXZ)
Zone error LNK2001: unresolved external symbol "public: virtual void __thiscall NPC::Gate(void)" (?Gate@NPC@@UAEXXZ)
Zone error LNK2019: unresolved external symbol "public: bool __thiscall TitleManager::LoadTitles(void)" (?LoadTitles@TitleManager@@QAE_NXZ) referenced in function _main
Zone error LNK2001: unresolved external symbol "public: virtual void __thiscall Mob::Gate(void)" (?Gate@Mob@@UAEXXZ)
Zone error LNK2001: unresolved external symbol "public: virtual void __thiscall Mob::Gate(void)" (?Gate@Mob@@UAEXXZ)
Zone error LNK2001: unresolved external symbol "public: virtual void __thiscall Mob::Gate(void)" (?Gate@Mob@@UAEXXZ)
Zone error LNK2001: unresolved external symbol "public: virtual void __thiscall Client::Gate(void)" (?Gate@Client@@UAEXXZ)
Zone error LNK2001: unresolved external symbol "public: virtual void __thiscall Client::GoToBind(void)" (?GoToBind@Client@@UAEXXZ)
Zone error LNK2019: unresolved external symbol "public: class EQApplicationPacket * __thiscall TitleManager::MakeTitlesPacket(class Client *)" (?MakeTitlesPacket@TitleManager@@QAEPAVEQApplicati onPacket@@PAVClient@@@Z) referenced in function "public: void __thiscall Client::Handle_Connect_OP_ReqNewZone(class EQApplicationPacket const *)" (?Handle_Connect_OP_ReqNewZone@Client@@QAEXPBVEQAp plicationPacket@@@Z)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::GoToSafeCoords(unsigned short)" (?GoToSafeCoords@Client@@QAEXG@Z) referenced in function "public: void __thiscall Client::Handle_OP_GMZoneRequest2(class EQApplicationPacket const *)" (?Handle_OP_GMZoneRequest2@Client@@QAEXPBVEQApplic ationPacket@@@Z)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::GoToSafeCoords(unsigned short)" (?GoToSafeCoords@Client@@QAEXG@Z)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::GoToSafeCoords(unsigned short)" (?GoToSafeCoords@Client@@QAEXG@Z)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::GoToSafeCoords(unsigned short)" (?GoToSafeCoords@Client@@QAEXG@Z) referenced in function "protected: virtual __thiscall std::numpunct<char>::~numpunct<char>(void)" (??1?$numpunct@D@std@@MAE@XZ)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::MovePC(unsigned int,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXIMMME_NW4ZoneMode@@@Z)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::MovePC(unsigned int,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXIMMME_NW4ZoneMode@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_GMGoto(class EQApplicationPacket const *)" (?Handle_OP_GMGoto@Client@@QAEXPBVEQApplicationPac ket@@@Z)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::MovePC(unsigned int,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXIMMME_NW4ZoneMode@@@Z) referenced in function "int __cdecl command_init(void)" (?command_init@@YAHXZ)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::MovePC(unsigned int,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXIMMME_NW4ZoneMode@@@Z)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::MovePC(unsigned int,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXIMMME_NW4ZoneMode@@@Z)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::Handle_OP_ZoneChange(class EQApplicationPacket const *)" (?Handle_OP_ZoneChange@Client@@QAEXPBVEQApplicatio nPacket@@@Z) referenced in function "void __cdecl MapOpcodes(void)" (?MapOpcodes@@YAXXZ)
Zone error LNK2019: unresolved external symbol "public: void __thiscall Client::MovePC(char const *,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXPBDMMME_NW4ZoneMode@@@Z) referenced in function "private: void __thiscall Client::OPGMSummon(class EQApplicationPacket const *)" (?OPGMSummon@Client@@AAEXPBVEQApplicationPacket@@@ Z)
Zone error LNK2001: unresolved external symbol "public: void __thiscall Client::MovePC(char const *,float,float,float,unsigned char,bool,enum ZoneMode)" (?MovePC@Client@@QAEXPBDMMME_NW4ZoneMode@@@Z)
It would appear that I need a file called EQApplicationPacket.cpp and TitleManager.cpp ...however they do not exist in the dump.

I may be reading these wrong - as stated above I am by no means an expert on this and is why I seek help. Any insight would be appreciated very much.

Regards,
SI
Reply With Quote
  #2  
Old 05-04-2005, 11:56 AM
Penguin_nv
Fire Beetle
 
Join Date: Apr 2005
Posts: 13
Default

Ok, I can sorta help you out.

The world resolve errors, include emu_opcodes.cpp emu_opcodes.h , and that should fix it, I added those in the project, and it compiled fine. As for zone.exe, you are at the same point I am, sorry I couldn't help you there.

I'm not an expert either, but after playing around with it for a bit, I got world fixed, maybe someone else got zone.exe fixed?
Reply With Quote
  #3  
Old 05-04-2005, 11:58 AM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

Sweet, thanks for the quick reply! Still working on Zone.exe, getting frustrated lol. If you find anything post.

Regards,
SI
Reply With Quote
  #4  
Old 05-04-2005, 12:01 PM
Penguin_nv
Fire Beetle
 
Join Date: Apr 2005
Posts: 13
Default

Np, so that fixed it then? I had added several files at once, so I wasn't too sure which ones it was
Reply With Quote
  #5  
Old 05-04-2005, 12:05 PM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

Yeah, that fixed world.exe. So close to the newest build, damn zone.exe errors :(. Anyway with zone.exe (not sure if I was supposed to do this) I added everything in the common folder except a couple files that were producing errors, like EQnetwork.cpp and end up with what I posted above and is why I think there are missing files or something. Thanks again for fixing world.exe, thats cool.

Regards,
SI
Reply With Quote
  #6  
Old 05-04-2005, 12:08 PM
Penguin_nv
Fire Beetle
 
Join Date: Apr 2005
Posts: 13
Default

Oh, btw, I when I try to run world.exe with the new EMuShareMem.dll, (or whatever its called), world.exe has error #127 and dies

Code:
[Status] Starting Log: logs/eqemu_world_2496.log
[Status] CURRENT_WORLD_VERSION:EQEMu 0.6.1-DR1
[Status] Loading opcodes..
[Error] Starting Log: logs/eqemu_error_world_2496.log
[Error] Function Attach Error: Error #127

[Error] LoadEMuShareMemDLL::Load() failed to attach a function.
Unable to load EMuShareMem for opcodes.
[Error] Loading opcodes failed. I cant live like this!
Not sure what to do about that, but looking into that as well
Reply With Quote
  #7  
Old 05-04-2005, 12:21 PM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

Okay, Hmmmmm. Not sure about the world thing. Probably some config file is needed or something.

Went to compile zone.exe again, this time tried it with the perl configuration (added c:\perl\lib\core include directories and the EMBPERL,EMBPERL_PLUGIN preprocessors) and I started getting the winsock2.h errors (all 423 of them lmao). Is that perl configuration obsololete now or something? The build worked fine when I did it without that config ...well...except for the unresolved externals.

Regards,
SI
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:07 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3