PDA

View Full Version : Current release + FreeBSD (6.1)


creiss
07-28-2006, 01:05 AM
Hey guys,

I was wondering if there is a patchset available to get the current release working under FreeBSD. So far, after renaming all the makefile.bsd to makefile and editing some of those I managed to compile EMuShareMem and parts of all other branches, but they all fail after

../common/Mutex.cpp:80:4: invalid preprocessing directive #pthread_mutexattr_settype
gmake: *** [.obj/Mutex.o] Error 1

So I had a good look at the common source tree in hope of any bsd mod, but there is none (to my knowledge) so I am stuck at the mutex part.

search on the forums for pthread_mutexattr_settype, pthread_mutexattr_settype_np, FreeBSD and mutex did not yield any results I need.

Any help would be greatly appreciated.

-Chris.

fathernitwit
07-29-2006, 04:26 AM
eqemu on freebsd is not for the feight of heart... it will take prolly 20-30 hours to get it working, assuming you are suitable skilled, this is due to problems cooperating with the native pthreads implementation. Basically you need to rebuild everything (mysql, perl, etc...) with linuxthreads and get them to link together.

creiss
07-29-2006, 08:16 AM
And I am afraid thats not an option. Not on this Server anyway.

Dammit :(

Thanks tho.

-Christian.

johane
07-30-2006, 10:58 AM
And I am afraid thats not an option. Not on this Server anyway.

Dammit :(

Thanks tho.

-Christian.

Couldn't you build everything to run under a chroot, or use a variable (like the LD_PRELOAD under Linux - I have no idea what the FreeBSD equivalent would be)?