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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2003, 09:38 AM
tyrbo
Fire Beetle
 
Join Date: Jun 2003
Posts: 12
Default Linux EQEMu 4.4

Errors:

cd world
make

[tyrbo@elite world]$ make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/packet_functions.cpp -o ../common/packet_functions.o
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
../common/packet_functions.cpp:22:18: zlib.h: No such file or directory
../common/packet_functions.cpp: In function `int DeflatePacket(unsigned char*,
int, unsigned char*, int)':
../common/packet_functions.cpp:119: error: `z_stream' undeclared (first use
this function)
../common/packet_functions.cpp:119: error: (Each undeclared identifier is
reported only once for each function it appears in.)
../common/packet_functions.cpp:119: error: parse error before `;' token
../common/packet_functions.cpp:122: error: `zstream' undeclared (first use this
function)
../common/packet_functions.cpp:124: error: `Z_NULL' undeclared (first use this
function)
../common/packet_functions.cpp:127: error: `Z_FINISH' undeclared (first use
this function)
../common/packet_functions.cpp:127: error: `deflateInit' undeclared (first use
this function)
../common/packet_functions.cpp:130: error: `deflate' undeclared (first use this
function)
../common/packet_functions.cpp:132: error: `Z_STREAM_END' undeclared (first use
this function)
../common/packet_functions.cpp:134: error: `deflateEnd' undeclared (first use
this function)
../common/packet_functions.cpp: In function `uint32 InflatePacket(uchar*,
unsigned int, uchar*, unsigned int, bool)':
../common/packet_functions.cpp:147: error: parse error before `;' token
../common/packet_functions.cpp:159: error: `inflateInit2' undeclared (first use
this function)
../common/packet_functions.cpp:160: error: `Z_OK' undeclared (first use this
function)
../common/packet_functions.cpp:164: error: `inflate' undeclared (first use this
function)
../common/packet_functions.cpp:167: error: `inflateEnd' undeclared (first use
this function)
make: *** [../common/packet_functions.o] Error 1

Any ideas?
Reply With Quote
  #2  
Old 10-17-2003, 09:39 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

zlib is needed.

http://www.rpmfind.net/linux/rpm2htm...submit=Search+...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 10-17-2003, 09:47 AM
tyrbo
Fire Beetle
 
Join Date: Jun 2003
Posts: 12
Default

After zlib:


[tyrbo@elite world]$ make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/packet_functions.cpp -o ../common/packet_functions.o
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/classes.cpp -o ../common/classes.o
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/TCPConnection.cpp -o ../common/TCPConnection.o
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
../common/TCPConnection.cpp: In static member function `static SPackSendQueue*
TCPConnection::MakeOldPacket(const ServerPacket*)':
../common/TCPConnection.cpp:76: warning: cast from `const int16*' to `char*'
discards qualifiers from pointer target type
../common/TCPConnection.cpp: In member function `bool
TCPConnection::ProcessReceivedDataAsOldPackets(cha r*)':
../common/TCPConnection.cpp:1143: warning: comparison between signed and
unsigned integer expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/eqtime.cpp -o ../common/eqtime.o
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/crc32.cpp -o ../common/crc32.o
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
../common/crc32.cpp:78:2: warning: #warning "Comment out i386 define if your arch isn't x86"
../common/crc32.cpp: In static member function `static uint32
CRC32::Update(const int8*, unsigned int, unsigned int)':
../common/crc32.cpp:140: error: asm-specifier for variable `_crc32' conflicts
with asm clobber list
make: *** [../common/crc32.o] Error 1
Reply With Quote
  #4  
Old 10-17-2003, 09:49 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

You're compiler doesnt like the inline assemby for crc32

edit common/crc32.cpp , and look for the if (i386)

change it to something bogus like i968

I'll rewrite that crc assembly one of these days for newer gas/nasm versions...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 10-18-2003, 06:36 AM
tyrbo
Fire Beetle
 
Join Date: Jun 2003
Posts: 12
Default

nevermind
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 10:26 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