Real basic patch to make zone/world compile/run on FreeBSD.
Requires mysql libraries, as well as port devel/linuxthreads to build.
Seems to run fine, I get "client disconnected" though; however,
zones load, other crap gets spewed. See post on eqemu main
boards.
Basically I just had to add some declarations of sys/types.h to match
sys/socket.h, added some stuff to the makefiles to support
linuxthreads, and take out normal pthread support (so as not to
interfere with linuxthreads), and make the mysql includes a bit more
sane. Also added definition of _THREAD_SAFE (which is a good
idea anyhow), and __USE_UNIX98, which is needed so we can use
pthread_mutexattr_settype. We needed linuxthreads so that we
could use PTHREAD_MUTEX_RECURSIVE_NP, the NP of which,
by the way, stands for non-portable =P
And finally, we changed MSG_NOSIGNAL to simply 0, since
architectures other than Linux (not just FreeBSD) don't usually have
that defined.
What a mouthful.
Anyhow please post if this works for you guys, or if you can get to
the bottom of the disconnecting problem.
Logged In: YES
user_id=658877
btw, this most likely WILL break other operating systems in its current
form..could use some ifdefs around some stuff so it's only included if
compiling on FreeBSD. The makefile stuff is simply trouble on any
non-FreeBSD box, however!
use this one, not the other one =)
Logged In: YES
user_id=658877
eqemu-freebsd-nice.patch shouldn't break anything ; don't use the other
one, only the new one
use this one, not the other two
Logged In: YES
user_id=658877
one day i'll learn to use versions on my patches, i swear =(
latest patchfile is fb.p, includes an up to date readme file, as well as seperate
makefiles. resulted from a diff -ruN.
modified files against cvs
Logged In: YES
user_id=658877
uploaded gzipped tarball of changes against current cvs tree for all you
windows folks. fixed a problem with some changes between makefiles in
release and cvs, also. should be good to go, let me know on irc, nick
var1ety
Logged In: YES
user_id=686161
how do i use this? im not sure, please help!
patch against 0.4.2-release for freebsd 4.x
Logged In: YES
user_id=658877
including patch against 0.4.2-release
Logged In: NO
hey yall, got a question for you all...When i try to run my
EQemu patcher, its all good, but when it trys to load, it just
says "cannot load eqmain.dll anyone know what this means?