Compiling world I get the following error. Could somebody please shed some light on what needs to happen as although I know what I'm doing compiling on windows, I'm rather new to Linux
Thanx
Code:
[root@p15147019 world]# make
mkdir -p .obj
gcc -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 -c ../common/debug.cpp -o .obj/debug.o
mkdir -p .obj
gcc -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 -c ../common/database.cpp -o .obj/database.o
../common/database.cpp: In member function `void
Database::LoadWorldContainer(unsigned int, ItemContainerInst*)':
../common/database.cpp:1672: warning: unused variable `const Item_Struct*item'
../common/database.cpp:1673: warning: unused variable `ItemInst*inst'
../common/database.cpp: In member function `uint32 Database::AddObject(unsigned
int, unsigned int, const Object_Struct&, const ItemInst*)':
../common/database.cpp:1782: warning: cast from `const ItemInst*' to `
ItemContainerInst*' discards qualifiers from pointer target type
../common/database.cpp: In member function `void
Database::UpdateObject(unsigned int, unsigned int, unsigned int, const
Object_Struct&, const ItemInst*)':
../common/database.cpp:1824: warning: cast from `const ItemInst*' to `
ItemContainerInst*' discards qualifiers from pointer target type
../common/database.cpp: In member function `Ground_Spawns*
Database::LoadGroundSpawns(unsigned int, Ground_Spawns*)':
../common/database.cpp:1841: warning: suggest parentheses around assignment
used as truth value
../common/database.cpp: In member function `bool
Database::CreateCharacter(unsigned int, PlayerProfile_Struct*, Inventory*)':
../common/database.cpp:2133: warning: `char**row' might be used uninitialized
in this function
../common/database.cpp: In member function `GuildMember_Struct*
Database::GetGuildMembers(unsigned int)':
../common/database.cpp:3143: warning: suggest parentheses around assignment
used as truth value
../common/database.cpp: In member function `void Database::ConvertItemBlob()':
../common/database.cpp:6983: warning: statement with no effect
../common/database.cpp:6991: warning: statement with no effect
mkdir -p .obj
gcc -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 -c ../common/Item.cpp -o .obj/Item.o
../common/Item.cpp: In member function `void
ItemContainerInst::PutItem(unsigned char, const ItemInst&)':
../common/Item.cpp:325: warning: comparison is always false due to limited
range of data type
gcc -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.o ../common/timer.o ../common/packet_dump.o ../common/races.o ../common/unix.o ../common/Mutex.o ../common/MiscFunctions.o ../common/serverinfo.o ../common/packet_functions.o ../common/classes.o ../common/TCPConnection.o ../common/eqtime.o ../common/crc32.o client.o net.o console.o zoneserver.o LoginServer.o ../common/md5.o ../common/dbcore.o ../common/dbasync.o ../common/EMuShareMem.o ../common/EQEMuError.o ../common/misc.o .obj/debug.o .obj/database.o .obj/Item.o -rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -l mysqlclient -ldl -o world