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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-24-2003, 10:18 AM
Trendkill
Fire Beetle
 
Join Date: Jun 2003
Posts: 7
Default Debian Problems

I can't get anything to compile. I jsut upgraded to GCC 3.2 and have been running MySQL 3.23 for a while now <run this same PHP based DB actually =)>

When trying to make EMu I get this:
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c MMFMutex.cpp -o MMFMutex.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c Doors.cpp -o Doors.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c Items.cpp -o Items.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c Spells.cpp -o Spells.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c NPCTypes.cpp -o NPCTypes.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c NPCFactionLists.cpp -o NPCFactionLists.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c MMF.cpp -o MMF.o
MMF.cpp: In method `bool MMF::Open(const char *, unsigned int)':
MMF.cpp:138: warning: unused variable `int max_share'
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c Loot.cpp -o Loot.o
Loot.cpp: In function `bool pDLLLoadLoot(bool (*)(), unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
Loot.cpp:192: warning: cast discards qualifiers from pointer target type
Loot.cpp:193: warning: cast discards qualifiers from pointer target type
Loot.cpp: In function `const struct LootTable_Struct * pGetLootTable(unsigned int)':
Loot.cpp:202: warning: cast discards qualifiers from pointer target type
Loot.cpp: In function `const struct LootDrop_Struct * pGetLootDrop(unsigned int)':
Loot.cpp:210: warning: cast discards qualifiers from pointer target type
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c ../common/timer.cpp -o ../common/timer.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c ../common/unix.cpp -o ../common/unix.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -DEMUSHAREMEM -c ../common/EMuShareMem.cpp -o ../common/EMuShareMem.o
gcc -g -shared -Wl,-soname,libEMuShareMem.so -o libEMuShareMem.so MMFMutex.o Doors.o Items.o Spells.o NPCTypes.o NPCFactionLists.o MMF.o Loot.o ../common/timer.o ../common/unix.o ../common/EMuShareMem.o -L. -lstdc++ -lm -lz `mysql_config --libs`
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [libEMuShareMem.so] Error 1

Any ideas?
Reply With Quote
 


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 05:42 AM.


 

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