Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2003, 01:41 PM
moonphoenix
Sarnak
 
Join Date: Feb 2003
Posts: 81
Default Compiling issues under RedHat Linux 9.

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
__________________
MoonPhoenix ServerOp
Reply With Quote
  #2  
Old 12-06-2003, 05:50 PM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default

Aside from a bunch of whining...er...umm...i mean warnings from the compiler, this looks to be a successful comple. What errors are you specifically talking about?

You should see a compiled world executable in the same directory. It'll be called 'world' with no .exe suffix and may sometimes show up green in your directory listing.

Regards,

krich
Reply With Quote
  #3  
Old 12-07-2003, 01:28 AM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

haha you are compiling as root
and again.. no errors that I see...
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #4  
Old 12-07-2003, 01:43 AM
moonphoenix
Sarnak
 
Join Date: Feb 2003
Posts: 81
Default

I've got it running now
__________________
MoonPhoenix ServerOp
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3