Well, first off, make doesn't work to compile because I get dependency errors. So I'm using gmake instead.
Here are the errors I get:
Code:
[4:22](veeshan@shell3)[~/emu/zone]> gmake
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs
-Wcomment -Wcast-align -O -ggdb -m486 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY
-DFX -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.cpp -o ../common/EQNetwork.o
../common/EQNetwork.cpp: In method `bool EQNetworkServer::Open(short unsigned int = 0)':
../common/EQNetwork.cpp:112: aggregate `struct sockaddr_in address' has incomplete type and cannot be initialized
../common/EQNetwork.cpp:120: confused by earlier errors, bailing out
gmake: *** [../common/EQNetwork.o] Error 1
And
Code:
[4:23](veeshan@shell3)[~/emu/world]> gmake
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs
-Wcomment -Wcast-align -Winline -Waggregate-return -g -m486 -O3 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY
-I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.cpp -o ../common/EQNetwork.o
In file included from ../common/EQNetwork.cpp:25:
/usr/include/g++/iomanip.h: In method `class smanip<TP> sapp<TP>::operator ()(TP)':
/usr/include/g++/iomanip.h:50: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In method `class imanip<TP> iapp<TP>::operator ()(TP)':
/usr/include/g++/iomanip.h:106: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In method `class omanip<TP> oapp<TP>::operator ()(TP)':
/usr/include/g++/iomanip.h:138: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In function `class smanip<int> setbase(int)':
/usr/include/g++/iomanip.h:171: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In function `class smanip<int> setfill(int)':
/usr/include/g++/iomanip.h:172: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In function `class smanip<int> setprecision(int)':
/usr/include/g++/iomanip.h:173: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In function `class smanip<int> setw(int)':
/usr/include/g++/iomanip.h:174: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In function `class smanip<long unsigned int> resetiosflags(long unsigned int)':
/usr/include/g++/iomanip.h:176: warning: function returns an aggregate
/usr/include/g++/iomanip.h: In function `class smanip<long unsigned int> setiosflags(long unsigned int)':
/usr/include/g++/iomanip.h:177: warning: function returns an aggregate
../common/EQNetwork.cpp: In method `bool EQNetworkServer::Open(short unsigned int = 0)':
../common/EQNetwork.cpp:112: aggregate `struct sockaddr_in address' has incomplete type and cannot be initialized
../common/EQNetwork.cpp:120: confused by earlier errors, bailing out
gmake: *** [../common/EQNetwork.o] Error 1
Any clues?