View Single Post
  #1  
Old 06-29-2007, 04:49 AM
dispair
Fire Beetle
 
Join Date: May 2007
Posts: 11
Default World make errors

I am trying to compile the emu server on a redhat 9 system that is fresh installed, i got all other things in ok like mysql and perl however when i goto build this i keep getting

[root@RedHat EQEmu.6.28.07]# make
make -C EMuShareMem
make[1]: Entering directory `/eqemu/source/EQEmu.6.28.07/EMuShareMem'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/eqemu/source/EQEmu.6.28.07/EMuShareMem'
make -C world
?@?@make[1]: Entering directory `/eqemu/source/EQEmu.6.28.07/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/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.8/i586-linux/CORE EQW.cpp -o EQW.o
EQW.cpp:56: parse error before `__attribute__'
EQW.cpp: In function `void XS_EQWIO_PRINT(...)':
EQW.cpp:57: parse error before `__attribute__'
EQW.cpp: In function `void XS_EQWIO_PRINT(...)':
EQW.cpp:57: redefinition of `void XS_EQWIO_PRINT(...)'
EQW.cpp:56: `void XS_EQWIO_PRINT(...)' previously defined here
EQW.cpp:57: redefinition of `void XS_EQWIO_PRINT(...)'
EQW.cpp:56: `void XS_EQWIO_PRINT(...)' previously defined here
EQW.cpp:59: `sp' undeclared (first use this function)
EQW.cpp:59: (Each undeclared identifier is reported only once for each function
it appears in.)
EQW.cpp:60: parse error before `if'
EQW.cpp:64: parse error before `for'
EQW.cpp:64: parse error before `;' token
EQW.cpp:64: syntax error before `++' token
EQW.cpp:66: ISO C++ forbids declaration of `Singleton' with no type
EQW.cpp:66: prototype for `int EQW::Singleton()' does not match any in class `
EQW'
EQW.h:33: candidate is: static EQW* EQW::Singleton()
EQW.cpp:66: `int EQW::Singleton()' and `static EQW* EQW::Singleton()' cannot be
overloaded
EQW.cpp: In member function `int EQW::Singleton()':
EQW.cpp:66: parse error before `->' token
EQW.cpp:69: ISO C++ forbids declaration of `PL_stack_sp' with no type
EQW.cpp:69: type mismatch with previous external decl
/usr/local/lib/perl5/5.8.8/i586-linux/CORE/thrdvar.h:34: previous external decl
of `SV**PL_stack_sp'
EQW.cpp:69: `tmpXSoff' undeclared (first use this function)
EQW.cpp:69: parse error before `return'
make[1]: *** [EQW.o] Error 1
make[1]: Leaving directory `/eqemu/source/EQEmu.6.28.07/world'
make: *** [all] Error 2
[root@RedHat EQEmu.6.28.07]#

as you can see everything upto world compiled i just need to resolve these errors so that i can continue and i have no idea. any ideas?
Reply With Quote