System:
2.6.24.5-grsec #1 SMP Thu Dec 18 18:11:30 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
gcc version 4.3.2 20081007 (Red Hat 4.3.2-7) (GCC)
I run into this when attempting to build most of the directories in the source checked out via SVN (Rev 619):
Code:
common/TCPConnection.cpp -o ../common/TCPConnection.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
../common/TCPConnection.cpp: In member function bool TCPConnection::GetSockName(char*, uint16*):
../common/TCPConnection.cpp:148: error: cannot convert size_t* to socklen_t* for argument 3 to int getsockname(int, sockaddr*, socklen_t*)
make: *** [../common/TCPConnection.o] Error 1
make: Leaving directory `/home/eqemu/incoming/EQEmuServer/zone'
I made some light modifications to the makefiles in each directory to specify an alternate compiler/linker and to remove "-march=i686" from COPTS to prevent: "../common/timer.cpp:1: error: CPU you selected does not support x86-64 instruction set"
Any ideas?