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 05-06-2003, 07:10 PM
inkubus
Hill Giant
 
Join Date: Feb 2002
Posts: 146
Default 0.4.4DR1 - Compiling Zone (Help!)

Hey everyone. I'm having trouble compiling 'zone' from nightdumps. I know this version isn't supported but is anyone around here able to give me some help? World and emusharemem compile fine with gcc-3.0.4.

I'm running Debian (Woody) linux 2.2.20-idepci.

Thanks

InKubus

Quote:
eqemu@iksar:~/eqemucvs/NightDumps/Source/zone$ make
gcc-3.0 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include client.cpp -o client.o
client.cpp: In member function `sint32 Client::GenericFocus(short unsigned int,
short unsigned int)':
client.cpp:453: warning: comparison between signed and unsigned integer
expressions
client.cpp: In member function `bool Client::QuestTroupe(const Seperator*)':
client.cpp:1868: warning: deprecated conversion from string constant to `char*'
client.cpp:2188: warning: deprecated conversion from string constant to `char*'
client.cpp: In method `bool Client::NormalGM(const Seperator*)':
client.cpp:3511: warning: unused variable `int8 charges'
client.cpp: In member function `bool Client::NormalUser(const Seperator*)':
client.cpp:4193: warning: deprecated conversion from string constant to `char*'
client.cpp:4510: name lookup of `i' changed for new ISO `for' scoping
client.cpp:4508: using obsolete binding at `i'
client.cpp: In member function `uint32 Client::HasItemInInventory(short
unsigned int, short unsigned int)':
client.cpp:5675: warning: initialization of negative value `-1' to `uint32'
client.cpp:5675: warning: argument of negative value `-1' to `unsigned int'
client.cpp:5677: warning: comparison is always true due to limited range of
data type
client.cpp: In member function `void Client::Commandlog(const Seperator*)':
client.cpp:7291: warning: assignment to non-pointer type `char' from NULL
client.cpp:7291: warning: argument to non-pointer type `char' from NULL
client.cpp:7297: warning: deprecated conversion from string constant to `char*'
client.cpp:7299: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `void Client::LogMerchant(Client*, Mob*,
Merchant_Purchase_Struct*, const Item_Struct*, bool)':
client.cpp:7325: warning: deprecated conversion from string constant to `char*'
client.cpp:7335: warning: passing `double' for argument 1 of `const char*
itoa(int, char*, int)'
client.cpp:7343: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `void Client::LogLoot(Client*, Corpse*, const
Item_Struct*)':
client.cpp:7360: warning: deprecated conversion from string constant to `char*'
client.cpp:7369: warning: deprecated conversion from string constant to `char*'
client.cpp:7371: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `bool Client::MoveItem(short unsigned int, short
unsigned int, unsigned char)':
client.cpp:7519: warning: comparison is always true due to limited range of
data type
client.cpp:7556: warning: comparison is always true due to limited range of
data type
client.cpp:7619: warning: unused variable `bool temp_bag_empty'
make: *** [client.o] Error 1
eqemu@iksar:~/eqemucvs/NightDumps/Source/zone$
Reply With Quote
  #2  
Old 05-07-2003, 12:39 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

The only gcc versions that are currently supported are 3.2+.

gcc 3.0 was buggy at best, I would recommend upgrading to the latest gnu gcc version. You could fix the compile errors specficly for 3.0. but everyone has gotten away from that version for a reason, so you would probably have to 'fix' the code everytime you compile.

The only actually error in there is

client.cpp:4510: name lookup of `i' changed for new ISO `for' scoping
client.cpp:4508: using obsolete binding at `i'

I would change that to a new variable name in that scope, say int r , then reference r in the loop.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 05-07-2003, 01:37 AM
inkubus
Hill Giant
 
Join Date: Feb 2002
Posts: 146
Default

Thanks trumpcard, i'll give it a go!
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 02:09 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