Ok, I've got it compiled now. Here's what I did to make it compile under RHEL/x86_64.
Install GCC 4.3.2:
Code:
yum install gcc43 gcc43-c++
----------------
Modify the following files:
Code:
EMuShareMem/makefile
world/makefile
zone/makefile
eqlaunch/makefile
mailserver/makefile
chatserver/makefile
In each of these, replace all instances of "gcc" with "gcc43", and remove "-march=i686" from the COPTS section(if present).
----------------
Modify utils/Makefile:
Replace all occurances of "g++" with "g++43".
----------------
Modify common/TCPConnection.h as follows:
Code:
#else
size_t addrlen;
#endif
becomes
Code:
#else
socklen_t addrlen;
#endif
----------------
Modify common/crc32.cpp as follows:
Code:
//#if !defined(i386)
//#define i386 // If you are on a non-Intel based platform (Sparc/HP/NEC/etc), you will want$
//#endif
becomes
Code:
//#if !defined(i386)
//#define i386 // If you are on a non-Intel based platform (Sparc/HP/NEC/etc), you will want$
//#endif
#undef i386