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

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2007, 08:14 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default 1049 zone compile issues

I am trying to compile the 1049 source on gentoo and am running into errors when it goes to make zone. The 1044 source compiles fine and is running on the server currently.

Here is what happens when I run make from the zone folder:

Code:
 make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated  -Wcomment -Wcast-align -O2 -g -march=athlon-tbird -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql `perl -MExtUtils::Embed -e ccopts` spell_effects.cpp -o spell_effects.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
spell_effects.cpp: In member function 'bool Mob::SpellEffect(Mob*, int16, float)':
spell_effects.cpp:208: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:588: warning: converting to 'int' from 'float'
spell_effects.cpp:602: warning: converting to 'sint32' from 'float'
spell_effects.cpp:646: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:670: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:776: error: expected `)' before 'spell'
spell_effects.cpp:776: warning: too few arguments for format
spell_effects.cpp:776: warning: too few arguments for format
spell_effects.cpp:944: warning: passing 'const float' for argument 2 to 'void Mob::SendAppearancePacket(int32, int32, bool, bool, Client*)'
spell_effects.cpp:1151: warning: converting to 'sint32' from 'float'
spell_effects.cpp:1466: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:1497: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:1531: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp: In member function 'void Mob::BuffProcess()':
spell_effects.cpp:2348: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp: In member function 'void Mob::BuffFadeBySlot(int, bool)':
spell_effects.cpp:2499: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp: In member function 'sint16 Client::GetFocusEffect(focusType, int16)':
spell_effects.cpp:2908: warning: comparison is always true due to limited range of data type
spell_effects.cpp:2925: warning: comparison between signed and unsigned integer expressions
make: *** [spell_effects.o] Error 1
Thanks
Reply With Quote
  #2  
Old 10-17-2007, 09:24 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

John Adams posted a solution to this:

http://www.eqemulator.net/forums/sho...light=expected

Just involves adding a comma to line 776 in zone/spell_effects.cpp
Reply With Quote
  #3  
Old 10-18-2007, 03:07 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Thanks that seemed to correct the issue.
Reply With Quote
  #4  
Old 10-18-2007, 11:49 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

You can also just delete line 776 entirely. It's just a debug line KLS left in and isn't really used for anything else.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #5  
Old 10-18-2007, 11:59 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Seems to be the same in the 1050 sources.
Reply With Quote
  #6  
Old 10-19-2007, 02:17 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

This has been corrected in build 1051.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
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 06:18 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