PDA

View Full Version : crc32.cpp Error


krampf
04-03-2006, 08:17 AM
I have decided to upgrade my EQEmu server and attempt to get 0.6.6-764 running. I have been running on 6.3 for sometime (thanks to Doodman and Belfedia), but this was prior to upgrading from SuSE 9.3 to 10.0 (actually a new install to 10.0).

EMuShareMem and Zone compile without error, but I get the following when attempting to compile World:

../common/crc32.cpp:105:2: warning: #warning "Comment out i386 define if your arch isn't x86"
../common/crc32.cpp: In static member function

fathernitwit
04-03-2006, 02:20 PM
hmm..
thats strange, since zone also uses that file.
This happens when your compiler has -fPIC enabled by default, but i'v never heard of a linux system doing that. Are you running a 64 bit machine?

none the less, just commend out the i386 define in there and it will work.

krampf
04-04-2006, 03:39 AM
The i386 section was // out by default. So I "#undef i386". This got me past the error and compiled without errors. I will test it out tonight/tomorrow and post an outcome. Thanks again.

krampf
04-05-2006, 01:36 AM
No good.

[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID 1081273264
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID 1083374512
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT_ERR] Loading server configuration failed.
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID 1083374512
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID 1081273264

Back to the drawing board.

krampf
04-05-2006, 02:49 AM
Sorry forgot to answer your question. I am on an Intel P4 2.8MHz. Nothing fancy.

I also grabbed a few of the older builds. I get the following on 6.5 on world (zone and EMuShareMem are okay)

gcc -c -Wall -g -O2 -I. -MD -D_VERSION='"1.9.9"' Uid.cpp -o Uid.o
Uid.cpp:48:23: error: uuid/uuid.h: No such file or directory
Uid.cpp: In constructor

Cisyouc
04-05-2006, 06:22 AM
Uid.cpp:48:23: error: uuid/uuid.h: No such file or directoryerrr...