View Full Version : MMF.h Compile problem
Hacked
02-18-2004, 04:11 PM
I downloaded all the CVS last night and was trying to compile EMuShareMem...
I cant get it to get past the error inside MMF.cpp... Where it is trying to include MMF.h... no matter what i try i cant get it to inclde correctly.
Any help would be great.
-- Hacked
Hacked
02-19-2004, 03:20 AM
/\
Trumpcard
02-19-2004, 04:02 AM
You know, it helps when you post the error...
Do you realize how ludacrious it is to post
'I have an error , how do you fix it' without posting a single detail regarding it ??
I can compile CVS just fine, so obviously its not a common error..Most likely theres something the matter with your gcc/VC/etc. we dont even know what system youre compiling on....
Miztah
02-23-2004, 03:22 PM
This probably isnt the same as his error, but i'm having a similar problem.
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
Its always possible for me to just remove the conflicting library from the system (FreeBSD 4.8) but its probably not an option for everyone. Any other possible fixes?
samandhi
02-23-2004, 03:32 PM
Chances are that you are having this error because you are trying to compile the newest source. Two things come to mind about this.
First, use the binaries (unless you are patched to EQlive current, in which case you will just have to wait).
Secondly, if you ARE using the newest source, THERE IS NO SUPPORT FOR THIS. It is NOT a realease, thus the fact that there is NO support..
As far as I know, there are NO binaries of the newest version of EQemu, because all the bugs have not been worked out yet, and it is not considered stable enough (by the devs) to be released yet.
smogo
02-23-2004, 09:04 PM
well, i don't know of any BSD binaries released...
var1ety
02-24-2004, 05:43 AM
FreeBSD specific problem. Comment out the semun definition and you will be fine. Further, search for FreeBSD ine the forums and examine the patches I made to allow EQEmu to compile on FreeBSD 5.2/Current.
Edit:
I gave up trying to get 4.x working with the 5.x series of EQEmu. If you can migrate over to GCC 3.2+ you should be able to get things going, but I had problems mixing GCC 2.95 from 4-stable and GCC 3.2 from ports.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.