Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-03-2009, 05:08 AM
RequiemTCE
Fire Beetle
 
Join Date: Mar 2009
Location: Cambridge, MA
Posts: 7
Default Compile problems under RHEL

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?
Reply With Quote
 


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 10:04 PM.


 

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