Compile Question
Greetings, I have downloaded Latest-EQEmulator-Source.zip just tonight and went into the world directory and typed "make" and despite a couple warnings, I did get the world binary made. But then I changed to ../zone and did make but got the following output and no binary. Anyone have any tips for me?
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -O2 -ggdb -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS `mysql_config --cflags` entity.cpp -o entity.o entity.cpp: In member function `bool EntityList::MakeDoorSpawnPacket(APPLAYER*)': entity.cpp:568: `qty' undeclared (first use this function) entity.cpp:568: (Each undeclared identifier is reported only once for each function it appears in.) entity.cpp: In member function `void EntityList::SendZoneSpawnsBulk(Client*)': entity.cpp:863: warning: unused variable `int i' make: *** [entity.o] Error 1 I am using RedHat 9 with gcc version 3.2.2 if anyone cares. |
Just so I dont sound like a complete dumbass, the compile is stopping because of a undeclared variable in entity.cpp, right?
|
I have had similar problems. Try:
make clean make It fixed mine. This comes up when I have tried to compile and errored out and forget to do a make clean before trying again. |
Unless you don't want to enable perl quests, don't compile with make alone, use the following command instead :
Code:
make -f makefile.perl |
All times are GMT -4. The time now is 11:26 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.