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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-19-2003, 04:26 PM
OperationIvy
Fire Beetle
 
Join Date: Jul 2003
Posts: 3
Default 5.0 Compile Errors on Redhat 7.1

got these erros on redhat 7.1, gcc 2.96 when compiling zone everything else compiled fine
Code:
[eqemu@google zone]$ make
gcc -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=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql ../common/packet_dump_file.cpp -o ../common/packet_dump_file.o
gcc -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=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql zone.cpp -o zone.o
zone.cpp: In function `bool Zone::Bootup (unsigned int, bool)':
zone.cpp:99: warning: unused variable `PlayerProfile_Struct *pp'
zone.cpp:100: warning: unused variable `int char_num'
zone.cpp:101: warning: unused variable `long unsigned int *lengths'
zone.cpp:102: warning: unused variable `char errbuf[200]'
zone.cpp:1453:1: warning: no newline at end of file
gcc -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=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql entity.cpp -o entity.o
entity.cpp: In method `void EntityList::MessageStatus (unsigned int,
unsigned int, unsigned int, const char *, ...)':
entity.cpp:1056: warning: comparison between signed and unsigned
integer expressions
entity.cpp: In method `void EntityList::SendZoneSpawnsBulk (Client *)':
entity.cpp:1398: warning: unused variable `int32 packetsize'
gcc -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=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql mob.cpp -o mob.o
gcc -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=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql client.cpp -o client.o
client.cpp: In method `sint32 Client::GenericFocus (short unsigned int,
short unsigned int)':
client.cpp:497: warning: comparison between signed and unsigned integer
expressions
client.cpp: In method `int16 Client::GetRawItemAC ()':
client.cpp:1410: warning: unused variable `const Item_Struct *TempItem'
client.cpp: In method `bool Client::QuestTroupe (const Seperator *)':
client.cpp:1865: warning: deprecated conversion from string constant to
`char *'
client.cpp:2154: warning: deprecated conversion from string constant to
`char *'
client.cpp: In method `bool Client::NormalGM (const Seperator *)':
client.cpp:3790: warning: comparison between signed and unsigned
integer expressions
client.cpp: In method `bool Client::NormalUser (const Seperator *)':
client.cpp:4247: warning: deprecated conversion from string constant to
`char *'
client.cpp: In method `bool Client::HasItemInInventory (short unsigned
int)':
client.cpp:5639: warning: unused variable `int16 i'
client.cpp: In method `uint32 Client::HasItemInInventory (short
unsigned int, short unsigned int)':
client.cpp:5657: warning: initialization of negative value `-1' to
`uint32'
client.cpp:5657: warning: argument of negative value `-1' to `unsigned
int'
client.cpp:5656: warning: unused variable `int16 slotid'
client.cpp: In method `void Client::SummonItem (short unsigned int,
unsigned char)':
client.cpp:5765: warning: assignment of negative value `-1' to `uint32'
client.cpp:5765: warning: argument of negative value `-1' to `unsigned
int'
client.cpp: In method `uint32 Client::GetItemAt (short unsigned int)':
client.cpp:5919: warning: return of negative value `-1' to `uint32'
client.cpp:5919: warning: argument of negative value `-1' to `unsigned
int'
client.cpp: In method `bool Client::DecreaseCharges (short unsigned
int)':
client.cpp:6316: warning: unused variable `int8 newcharges'
client.cpp:6317: warning: unused variable `int16 itemid'
client.cpp: In method `void Client::Commandlog (const Seperator *)':
client.cpp:7103: warning: assignment to non-pointer type `char' from
NULL
client.cpp:7103: warning: argument to non-pointer type `char' from NULL
client.cpp:7109: warning: deprecated conversion from string constant to
`char *'
client.cpp:7111: warning: deprecated conversion from string constant to
`char *'
client.cpp: In method `void Client::LogMerchant (Client *, Mob *,
Merchant_Purchase_Struct *, const Item_Struct *, bool)':
client.cpp:7137: warning: deprecated conversion from string constant to
`char *'
client.cpp:7158: warning: deprecated conversion from string constant to
`char *'
client.cpp: In method `void Client::LogLoot (Client *, Corpse *, const
Item_Struct *)':
client.cpp:7177: warning: deprecated conversion from string constant to
`char *'
client.cpp:7186: warning: deprecated conversion from string constant to
`char *'
client.cpp:7188: warning: deprecated conversion from string constant to
`char *'
client.cpp: In method `bool Client::BindWound (Mob *, bool, bool)':
client.cpp:7275: warning: assignment to `int' from `double'
client.cpp:7275: warning: argument to `int' from `double'
client.cpp: In method `bool Client::MoveItem (MoveItem_Struct *)':
client.cpp:7321: warning: comparison between signed and unsigned
integer expressions
client.cpp:7326: warning: comparison between signed and unsigned
integer expressions
client.cpp:7363: warning: initialization of negative value `-1' to
`unsigned int'
client.cpp:7363: warning: argument of negative value `-1' to `unsigned
int'
client.cpp:7364: warning: comparison between signed and unsigned
integer expressions
client.cpp:7368: warning: initialization of negative value `-1' to
`unsigned int'
client.cpp:7368: warning: argument of negative value `-1' to `unsigned
int'
client.cpp:7369: warning: comparison between signed and unsigned
integer expressions
gcc -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=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql client_process.cpp -o client_process.o
client_process.cpp: In method `int Client::HandlePacket (const APPLAYER
*)':
client_process.cpp:710: warning: comparison is always true due to
limited range of data type
client_process.cpp:903: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:938: warning: assignment to `int' from `double'
client_process.cpp:938: warning: argument to `int' from `double'
client_process.cpp:943: warning: assignment to `int' from `double'
client_process.cpp:943: warning: argument to `int' from `double'
client_process.cpp:991: warning: assignment to `int' from `double'
client_process.cpp:991: warning: argument to `int' from `double'
client_process.cpp:996: warning: assignment to `int' from `double'
client_process.cpp:996: warning: argument to `int' from `double'
client_process.cpp:1020: warning: assignment to `int' from `double'
client_process.cpp:1020: warning: argument to `int' from `double'
client_process.cpp:1025: warning: assignment to `int' from `double'
client_process.cpp:1025: warning: argument to `int' from `double'
client_process.cpp:1051: warning: assignment to `int' from `double'
client_process.cpp:1051: warning: argument to `int' from `double'
client_process.cpp:1056: warning: assignment to `int' from `double'
client_process.cpp:1056: warning: argument to `int' from `double'
client_process.cpp:2194: warning: unused variable `const Item_Struct
*Rangeweapon'
client_process.cpp:2253: warning: unused variable `const Item_Struct
*Rangeweapon'
client_process.cpp:2254: warning: unused variable `const Item_Struct
*Ammo'
client_process.cpp:2639: warning: assignment to non-pointer type `char'
from NULL
client_process.cpp:2639: warning: argument to non-pointer type `char'
from NULL
client_process.cpp:2663: warning: assignment to non-pointer type `char'
from NULL
client_process.cpp:2663: warning: argument to non-pointer type `char'
from NULL
client_process.cpp:2664: warning: assignment to non-pointer type `char'
from NULL
client_process.cpp:2664: warning: argument to non-pointer type `char'
from NULL
client_process.cpp:2744: warning: deprecated conversion from string
constant to `char *'
client_process.cpp:2767: warning: deprecated conversion from string
constant to `char *'
client_process.cpp:2770: warning: assignment to non-pointer type `char'
from NULL
client_process.cpp:2770: warning: argument to non-pointer type `char'
from NULL
client_process.cpp:2771: warning: assignment to non-pointer type `char'
from NULL
client_process.cpp:2771: warning: argument to non-pointer type `char'
from NULL
client_process.cpp:3090: warning: cast from `const char *' to `char *'
discards qualifiers from pointer target type
client_process.cpp:3742: warning: unused variable `int16 slot'
client_process.cpp:3772: warning: unused variable `const Item_Struct
*item'
client_process.cpp:3817: warning: unused variable `const Item_Struct
*item'
client_process.cpp:3767: warning: unused variable `Item_Struct *item2'
client_process.cpp:4500: warning: unused variable `int32 slotid'
client_process.cpp:4501: warning: unused variable `int32 realslotid'
client_process.cpp:4880: warning: comparison between signed and
unsigned integer expressions
client_process.cpp:3319: warning: `int32 temp' might be used
uninitialized in this function
client_process.cpp: In method `bool Client::FinishConnState2
(DBAsyncWork *)':
client_process.cpp:5243: warning: comparison between signed and
unsigned integer expressions
client_process.cpp:5348: `DebugBreak' undeclared (first use this
function)
client_process.cpp:5348: (Each undeclared identifier is reported only
once for each function it appears in.)
client_process.cpp: In method `void Client::CompleteConnect ()':
client_process.cpp:5546: warning: assignment to non-pointer type `char'
from NULL
client_process.cpp:5546: warning: argument to non-pointer type `char'
from NULL
client_process.cpp: In method `void Client::BulkSendInventoryItems ()':
client_process.cpp:5909: warning: unused variable `const Item_Struct
*item'
client_process.cpp: In method `void Client::BulkSendMerchantInventory
(int, short unsigned int)':
client_process.cpp:6051: warning: comparison between signed and
unsigned integer expressions
client_process.cpp:6051: warning: comparison between signed and
unsigned integer expressions
client_process.cpp: In method `void Client::OPMemorizeSpell (const
APPLAYER *)':
client_process.cpp:6210: warning: comparison between signed and
unsigned integer expressions
make: *** [client_process.o] Error 1
[eqemu@google zone]$
Reply With Quote
 


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 05:21 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