Just in case, I went ahead and did a fresh svn download 5 minutes ago. Ran the grep replace, then compiled. Still fails in the same place.
Code:
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align
-Wno-deprecated -g -march=i386 -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 -g -pipe -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i686-linux/CORE EQW.cpp -o EQW.o
EQW.cpp:57: syntax error before `__attribute__'
EQW.cpp: In function `void XS_EQWIO_PRINT(...)':
EQW.cpp:58: syntax error before `__attribute__'
EQW.cpp: In function `void XS_EQWIO_PRINT(...)':
EQW.cpp:58: redefinition of `void XS_EQWIO_PRINT(...)'
EQW.cpp:57: `void XS_EQWIO_PRINT(...)' previously defined here
EQW.cpp:58: redefinition of `void XS_EQWIO_PRINT(...)'
EQW.cpp:57: `void XS_EQWIO_PRINT(...)' previously defined here
EQW.cpp:60: `sp' undeclared (first use this function)
EQW.cpp:60: (Each undeclared identifier is reported only once for each function
it appears in.)
EQW.cpp:61: syntax error before `if'
EQW.cpp:65: syntax error before `for'
EQW.cpp:65: syntax error before `;' token
EQW.cpp:65: syntax error before `++' token
EQW.cpp:67: ISO C++ forbids declaration of `Singleton' with no type
EQW.cpp:67: prototype for `int EQW::Singleton()' does not match any in class `
EQW'
EQW.h:33: candidate is: static EQW* EQW::Singleton()
EQW.cpp:67: `int EQW::Singleton()' and `static EQW* EQW::Singleton()' cannot be
overloaded
EQW.cpp: In member function `int EQW::Singleton()':
EQW.cpp:67: syntax error before `->' token
EQW.cpp:70: ISO C++ forbids declaration of `PL_stack_sp' with no type
EQW.cpp:70: type mismatch with previous external decl
/usr/lib/perl5/5.8.8/i686-linux/CORE/thrdvar.h:34: previous external decl of `
SV**PL_stack_sp'
EQW.cpp:70: `tmpXSoff' undeclared (first use this function)
EQW.cpp:70: syntax error before `return'
make[1]: *** [EQW.o] Error 1
make[1]: Leaving directory `/home/eqemu/eqemuserver/source/world'
make: *** [all] Error 2
I noticed iggi got it to work fine on CentOS 5.4 ...
EDIT: After some fishing around on the wiki, I tried to make sure everything was installed and ran into this:
Code:
[/home/eqemu/eqemuserver/source]# yum install gcc gcc-c++ perl-IO-stringy mysql-devel mysqlclient10-devel vim-enhanced mysql-server
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: CentOS-3 - Updates
Finding updated packages
Downloading needed headers
gcc is installed and is the latest version.
gcc-c++ is installed and is the latest version.
Cannot find a package matching perl-IO-stringy
Cannot find a package matching mysql-devel
Cannot find a package matching mysqlclient10-devel
Cannot find a package matching mysql-server
Is that an important issue?