I'm having a few various problems compiling each of the programs, so i'll just throw out all of the errors in hopes that someone can possibly solve one if not all of them. I'm running FreeBSD 4.8 and using gmake to compile. The source im using is the new stuff on the CVS in the NewSource directory.
To start, the EMuShareMem.
Code:
-bash-2.05b$ gmake
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -DEMUSHAREMEM -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -c MMFMutex.cpp -o MMFMutex.o
mysql_config: not found
In file included from MMFMutex.cpp:1:
MMFMutex.h:18: redefinition of `union semun'
/usr/include/sys/sem.h:49: previous definition here
MMFMutex.cpp: In method `MMFMutex::MMFMutex(int)':
MMFMutex.cpp:27: no matching function for call to `semun::semun ()'
MMFMutex.h:23: candidates are: semun::semun(const semun &)
gmake: *** [MMFMutex.o] Error 1
-bash-2.05b$
While im sure its probably possible to just remove the libary from the system, its probably not an option given to everyone who might have this problem. I realize the mysql_config problem, and plan to fix that after i get these other problems sorted.
On to zone..
I get a small warning in the part of the compile that it makes it through:
Code:
../common/EQNetwork.cpp: In method `void EQNetworkConnection::MakeEQPacket(APPLAYER *, bool = true)':
../common/EQNetwork.cpp:1482: warning: value computed is not used
Then the actual error:
Code:
In file included from ../common/../common/servertalk.h:8,
from ../common/packet_dump.cpp:27:
../common/../common/../common/eq_packet_structs.h:1261: anonymous class type not used to declare any objects
../common/packet_dump.cpp: In function `void DumpPacketBin(const void *, unsigned int)':
../common/packet_dump.cpp:150: warning: cast discards qualifiers from pointer target type
gmake: *** [../common/packet_dump.o] Error 1
Honestly not sure on this one.
If i try and compile world, i get an error relatively close to zone's error with a little more:
Code:
In file included from ../common/../common/servertalk.h:8,
from ../common/packet_dump.cpp:27:
../common/../common/../common/eq_packet_structs.h:1261: anonymous class type not used to declare any objects
../common/packet_dump.cpp: In function `void DumpPacketAscii(const uchar *, unsigned int, unsigned int = 16, unsigned int = 0)':
/usr/include/g++/iomanip.h:56: warning: can't inline call to `class ostream & operator <<<int>(ostream &, const smanip<int> &)'
../common/packet_dump.cpp:35: warning: called from here
../common/packet_dump.cpp: In function `void DumpPacketBin(const void *, unsigned int)':
../common/packet_dump.cpp:150: warning: cast discards qualifiers from pointer target type
gmake: *** [../common/packet_dump.o] Error 1
Any help or suggestions would be greatly appreciated.
Thanks