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 05-27-2010, 04:12 PM
jrdnyquist
Fire Beetle
 
Join Date: Jun 2004
Posts: 2
Default Debian Lenny32 make problem

I'm trying to compile projecteqemu revision 1505 on Debian 32-bit 5.0 (Lenny). I get the following error...


eqemu@vadmin01:~/eqemulator/projecteqemu$ make
make -C EMuShareMem
make[1]: Entering directory `/data/eqemu/eqemulator/projecteqemu/EMuShareMem'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/data/eqemu/eqemulator/projecteqemu/EMuShareMem'
make -C world
make[1]: Entering directory `/data/eqemu/eqemulator/projecteqemu/world'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -I../common/SocketLib -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE Adventure.cpp -o Adventure.o
Adventure.cpp: In member function ‘void Adventure::MoveCorpsesToGraveyard()’:
Adventure.cpp:381: error: ‘atoi’ was not declared in this scope
make[1]: *** [Adventure.o] Error 1
make[1]: Leaving directory `/data/eqemu/eqemulator/projecteqemu/world'
make: *** [all] Error 2


Any ideas?
Reply With Quote
  #2  
Old 05-27-2010, 04:17 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Try adding:
Code:
#include <stdlib.h>
to the top of world/Adventure.cpp

Older versions of g++ would just let this pass without an error.
Reply With Quote
  #3  
Old 05-27-2010, 05:18 PM
jrdnyquist
Fire Beetle
 
Join Date: Jun 2004
Posts: 2
Default

Cool that fixed it. I has to do the same for world/AdventureManager.cpp

Thanks!
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 08:01 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3