Problem compiling Zone with perl on gentoo
These are the eroors I get when I run
make -f makefile.perl mkdir -p .obj gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypesdeprecated -Wcomment -Wcast-align -O -g -pg -march=i686 -pthread -pipe -D_OURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREDSPELL_EFFECT_SPAM -DFIELD_ITEMS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEM/usr/include/mysql -c ../common/EQNetwork.cpp -o .obj/EQNetwork.o In file included from ../common/EQNetwork.cpp:40: ../common/EQNetwork.h:62:1: warning: "FLAG_COMPRESSED" redefined In file included from ../common/EQNetwork.h:41, from ../common/EQNetwork.cpp:40: ../common/EQStream.h:31:1: warning: this is the location of the previous deion ../common/EQNetwork.cpp: In member function `void EQStreamServer::Process() ../common/EQNetwork.cpp:244: error: `IsFree' undeclared (first use this function) ../common/EQNetwork.cpp:244: error: (Each undeclared identifier is reported only once for each function it appears in.) ../common/EQNetwork.cpp:244: error: `CheckNetActive' undeclared (first use function) ../common/EQNetwork.cpp:250: error: 'class EQStream' has no member named ' RunLoop' ../common/EQNetwork.cpp:251: error: no matching function for call to `EQStr ::Process(int&)' ../common/EQStream.h:182: error: candidates are: void EQStream::Process(con unsigned char*, unsigned int) ../common/EQNetwork.cpp: In member function `void EQStreamServer::RecvData(uchar*, unsigned int, unsigned int, short unsig int)': ../common/EQNetwork.cpp:277: warning: long unsigned int format, int32 arg ( 3) ../common/EQNetwork.cpp:285: error: `RecvData' undeclared (first use this function) ../common/EQNetwork.cpp:296: error: no matching function for call to `EQStr ::EQStream(int32&, int16&)' ../common/EQStream.h:84: error: candidates are: EQStream::EQStream(const EQStream&) ../common/EQStream.h:158: error: EQStream::EQStream(sockaddr_in) ../common/EQStream.h:157: error: EQStream::EQStream() ../common/EQNetwork.cpp: In function `void* EQStreamInLoop(void*)': ../common/EQNetwork.cpp:363: error: 'class EQStream' has no member named ' MLoopRunning' ../common/EQNetwork.cpp:366: error: 'class EQStream' has no member named ' RunLoop' ../common/EQNetwork.cpp:370: error: `DoRecvData' undecla function) ../common/EQNetwork.cpp:375: error: 'class EQStream' has MLoopRunning' ../common/EQNetwork.cpp: In function `void* EQStreamOutL ../common/EQNetwork.cpp:395: error: 'class EQStream' has MLoopRunning' ../common/EQNetwork.cpp:398: error: 'class EQStream' has RunLoop' ../common/EQNetwork.cpp:402: error: 'class EQStream' has outsock' ../common/EQNetwork.cpp:407: error: 'class EQStream' has MLoopRunning' make: *** [.obj/EQNetwork.o] Error 1 Anyone able to help? i'm using the CVS development source for version 0.6.2-DR0 Thanks Cybris |
Those are the exact same errors that I get running FC4 with either 0.6.1 or 0.6.2DR0 when attempting to compile with makefile.perl.
|
I have been informed by DoodMan that the "-f makefile.perl" syntax is no depreceiated. You can just use make because perl is enabled by default. I had the same problem and that was the fix.
Krusher |
Ok thanks Krusher i'll check out just running a normal make :)
|
Different problem compiling zone on gentoo
When I first setup my cvs folder and compiled I had no trouble at all. I updated my cvs a few days ago and now zone has an error.
make: *** No rule to make target `/usr/lib/perl5/5.8.5/i686-linux/CORE/EXTERN.h', needed by `net.o'. Stop. I've re-emerged my perl and I still get the error. If anyone can help I would appreciate it. |
I think that you probally need to install IO::Scalar for perl. Check out www.cpan.org for the correct syntax or if you do a search for MCPAN in the forums you will find the correct syntax.
Here is the link on the forums: http://www.eqemulator.net/forums/sho...ighlight=mcpan |
well i got it all to compile just fine, but when i try to run world. i get this error.
[Status] Starting Log: logs/eqemu_world.log [Status] Using database 'eqemu' at localhost [Status] CURRENT_WOLRD_VERSION:EQEMu 0.6.2-DR0 [Status] Loading opcodes.. Segmentation fault any ideas? i'm using the CVS development soruce version 0.6.2-DR0 |
seg
Quote:
A segmentation fault occurs when your program tries to access memory locations that haven't been allocated for the program's use. I would say you have a bad compiled version. do a clean and recomplie see if that works. |
All times are GMT -4. The time now is 03:02 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.