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

Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2003, 10:21 AM
bud9weiser's Avatar
bud9weiser
Sarnak
 
Join Date: Apr 2003
Posts: 35
Default Compile error win 2k3, VS .NET 2002

Code:
packet_functions.obj : error LNK2019: unresolved external symbol _deflateEnd@4 referenced in function "int __cdecl DeflatePacket(unsigned char *,int,unsigned char *,int)" (?DeflatePacket@@YAHPAEH0H@Z)
packet_functions.obj : error LNK2019: unresolved external symbol _deflate@8 referenced in function "int __cdecl DeflatePacket(unsigned char *,int,unsigned char *,int)" (?DeflatePacket@@YAHPAEH0H@Z)
packet_functions.obj : error LNK2019: unresolved external symbol _deflateInit_@16 referenced in function "int __cdecl DeflatePacket(unsigned char *,int,unsigned char *,int)" (?DeflatePacket@@YAHPAEH0H@Z)
packet_functions.obj : error LNK2019: unresolved external symbol _inflateEnd@4 referenced in function "unsigned int __cdecl InflatePacket(unsigned char *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPAEI0I_N@Z)
packet_functions.obj : error LNK2019: unresolved external symbol _inflate@8 referenced in function "unsigned int __cdecl InflatePacket(unsigned char *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPAEI0I_N@Z)
packet_functions.obj : error LNK2019: unresolved external symbol _inflateInit2_@16 referenced in function "unsigned int __cdecl InflatePacket(unsigned char *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPAEI0I_N@Z)
../build/WorldDebug.exe : fatal error LNK1120: 6 unresolved externals
ive limited it down to the mysqlcliant.lib i belive, it is added to the lib files option in VS as e:\mysql\lib\opt and ive checked every post on the forum i can find and tried the solutions that were obvious. so far no luck. Lemme know if anyone has some insight or if you need more info
Reply With Quote
  #2  
Old 09-17-2003, 10:28 AM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default

Looks like your project file is missing packet_functions.cpp. Not sure how your project file lost this reference. Add it manually and recompile.

If you continue to get unresolved externals, it's likely your project file is hosed. Come to IRC and get another copy of it.
Reply With Quote
  #3  
Old 09-25-2003, 01:35 PM
bud9weiser's Avatar
bud9weiser
Sarnak
 
Join Date: Apr 2003
Posts: 35
Default

Ok, this is still a problem, Merth thanks a ton for tryin to help me out in IRC, heres a update on the problem.

Code:
int DeflatePacket(unsigned char* in_data, int in_length, unsigned char* out_data, int max_out_length) {z_stream zstream;
seems to be the problem along with
Code:
uint32 InflatePacket(uchar* indata, uint32 indatalen, uchar* outdata, uint32 outdatalen, bool iQuiet) {z_stream zstream;
i researched all my include files and all are on the system and properly compiling except for one wich is
Code:
#include <netinet/in.h>
Now, i know this file contains packet functions so i come to the conclusion that it is at leased part of the problem. Is this a VS include or am i missing something in mysql or zlib? ive been messing with it for 2 weeks and im out of places to look. Thanks for any imput. If you need any other information please let me know here or in IRC.
Reply With Quote
  #4  
Old 09-25-2003, 02:43 PM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default

Sorry, my bad. I didn't pay close attention to the error message:

Code:
unresolved external symbol _deflateEnd
You are missing zlib.lib from your linker input dependencies. Maybe you are running your own configuration? Go to the properties for your project, find the Linker/Input tab, and add zlib.lib to the "Additional Dependencies".

I suspect that since this is not part of your dependency list, something funky is happening. Are you compiling the "Debug" or "Release" configurations?
Reply With Quote
  #5  
Old 09-28-2003, 02:41 AM
bud9weiser's Avatar
bud9weiser
Sarnak
 
Join Date: Apr 2003
Posts: 35
Default

Ok this problem is fixed, for future referance, do not use VS.net 2002 academic version, it does not work! you need a full release becouse academic is missing lib files that you have to have or you will fail. Thanks Merth and Devn00b for the help on this. I used VS.net 2002 enterprise and it compiled fine. Dont i feel silly.. again thanks for your help guys
Reply With Quote
  #6  
Old 10-04-2004, 06:20 AM
srarcade
Fire Beetle
 
Join Date: Sep 2004
Location: FL
Posts: 19
Default

I have VS.net 2003 academic, same exact problem. I'm gonna dig around for another compiler to test, I'll post the result.
Reply With Quote
  #7  
Old 10-05-2004, 07:02 AM
srarcade
Fire Beetle
 
Join Date: Sep 2004
Location: FL
Posts: 19
Default

Got a copy of Visual C++ 6 and it compiles fine so yea- academic version is bad.
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:31 AM.


 

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