PDA

View Full Version : Compile issue with Latest


braindisconnect
04-19-2005, 08:27 PM
I am using Suse 9.3 and MySQL DB resides on another server, but I am utilizing the rpm installs that cam with 9.3.

gcc v3.3.5
perl v5.8.6
MySQL 4.1.10a client side

EMuShareMem appears to compile correctly...

I am getting a compile error when compiling the zone:

gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -O -g -pg -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql `perl -MExtUtils::Embed -e ccopts` net.cpp -o net.o
net.cpp: In function `char* strsep(char**, const char*)':
net.cpp:940: error: declaration of `char* strsep(char**, const char*)' throws
different exceptions
net.cpp:141: error: than previous declaration `char* strsep(char**, const
char*) throw ()'
make: *** [net.o] Error 1

The other errors are with world, but world appears to work correctly, but there are quite a few of them and I want to have them double checked by the gurus:

gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.cpp -o ../common/EQNetwork.o
../common/EQNetwork.cpp: In member function `
EQNetworkServer::EQNetworkServer(short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
MyQueue<T>::MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:75: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'

gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
../common/MiscFunctions.cpp: In function `bool ParseAddress(const char*,
int32*, int16*, char*)':
../common/seperator.h:31: warning: inlining failed in call to `
Seperator::Seperator(const char*, char, short unsigned int, short unsigned
int, bool, char, char, bool)'

gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/TCPConnection.cpp -o ../common/TCPConnection.o
../common/TCPConnection.cpp: In member function `
TCPConnection::TCPConnection(bool, TCPServer*, eTCPMode)':
../common/queue.h:46: warning: inlining failed in call to `
MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
MyQueue<T>::~MyQueue() [with T = char]'


Thanks In Advanced!
BrainDisconnect

braindisconnect
04-24-2005, 04:28 PM
Ok... I back rev'd the OS to SuSE 9.2 and the compile works fine now. Just posting this in case anyone else needs the info. Many new changes between 9.2 and 9.3...

I also used Muuss' fine Advanced EqEmu Linux Setup (http://www.eqemulator.net/forums/showthread.php?t=17395)

Now to get the CVS to compile... :-D