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 Any ideas? |
I selected GCC 4.3.2 per: http://www.eqemulator.net/forums/sho...89&postcount=7
|
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 ---------------- Modify utils/Makefile: Replace all occurances of "g++" with "g++43". ---------------- Modify common/TCPConnection.h as follows: Code:
#else Code:
#else Modify common/crc32.cpp as follows: Code:
//#if !defined(i386) Code:
//#if !defined(i386) |
Based on the errors you ran into compiling, I'm guessing you are running a 64bit system. There are other changes needed to get 64bit working properly (and it's still a work in progress). Let me know if I am correct and I'll post some patches for you.
|
Quote:
Also, addendum to above: Copy libEMuShareMem.so into /lib64. Code:
[Debug] [WORLD__INIT] Loading items.. |
Did you increase the shared memory size for the system? If not, add:
kernel.shmmax = 134217728 to /etc/sysctl.conf and reboot. Otherwise, I have no idea why you would be having problems reading in the items. |
I just got back to trying to get this working.
From /etc/sysctl.conf: Code:
# Controls the default maxmimum size of a mesage queue |
If you look in these forums under development: code submissions, there is a list of patches for 64bit systems I have submitted to be included in the code base.
|
All times are GMT -4. The time now is 09:04 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.