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 02-23-2004, 03:27 PM
Miztah
Fire Beetle
 
Join Date: Feb 2004
Posts: 4
Default Problems with compiling

I'm having a few various problems compiling each of the programs, so i'll just throw out all of the errors in hopes that someone can possibly solve one if not all of them. I'm running FreeBSD 4.8 and using gmake to compile. The source im using is the new stuff on the CVS in the NewSource directory.

To start, the EMuShareMem.

Code:
-bash-2.05b$ gmake
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -DEMUSHAREMEM -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -c MMFMutex.cpp -o MMFMutex.o
mysql_config: not found
In file included from MMFMutex.cpp:1:
MMFMutex.h:18: redefinition of `union semun'
/usr/include/sys/sem.h:49: previous definition here
MMFMutex.cpp: In method `MMFMutex::MMFMutex(int)':
MMFMutex.cpp:27: no matching function for call to `semun::semun ()'
MMFMutex.h:23: candidates are: semun::semun(const semun &)
gmake: *** [MMFMutex.o] Error 1
-bash-2.05b$
While im sure its probably possible to just remove the libary from the system, its probably not an option given to everyone who might have this problem. I realize the mysql_config problem, and plan to fix that after i get these other problems sorted.

On to zone..

I get a small warning in the part of the compile that it makes it through:
Code:
../common/EQNetwork.cpp: In method `void EQNetworkConnection::MakeEQPacket(APPLAYER *, bool = true)':
../common/EQNetwork.cpp:1482: warning: value computed is not used
Then the actual error:
Code:
In file included from ../common/../common/servertalk.h:8,
                 from ../common/packet_dump.cpp:27:
../common/../common/../common/eq_packet_structs.h:1261: anonymous class type not used to declare any objects
../common/packet_dump.cpp: In function `void DumpPacketBin(const void *, unsigned int)':
../common/packet_dump.cpp:150: warning: cast discards qualifiers from pointer target type
gmake: *** [../common/packet_dump.o] Error 1
Honestly not sure on this one.

If i try and compile world, i get an error relatively close to zone's error with a little more:

Code:
In file included from ../common/../common/servertalk.h:8,
                 from ../common/packet_dump.cpp:27:
../common/../common/../common/eq_packet_structs.h:1261: anonymous class type not used to declare any objects
../common/packet_dump.cpp: In function `void DumpPacketAscii(const uchar *, unsigned int, unsigned int = 16, unsigned int = 0)':
/usr/include/g++/iomanip.h:56: warning: can't inline call to `class ostream & operator <<<int>(ostream &, const smanip<int> &)'
../common/packet_dump.cpp:35: warning: called from here
../common/packet_dump.cpp: In function `void DumpPacketBin(const void *, unsigned int)':
../common/packet_dump.cpp:150: warning: cast discards qualifiers from pointer target type
gmake: *** [../common/packet_dump.o] Error 1

Any help or suggestions would be greatly appreciated.

Thanks
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 11:23 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