EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Bsd & Compile (https://www.eqemulator.org/forums/showthread.php?t=24042)

creiss 01-01-2008 07:19 AM

Bsd & Compile
 
Yes, yes I know :)

But I got the libEMuShareMem.so compiled already:

Code:

libEMuShareMem.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (FreeBSD), not stripped
(zomg) So I am full of enthusiasm. Tho, now it hangs at:

Code:

$ gmake
gmake -C EMuShareMem
gmake[1]: Entering directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/EMuShareMem'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/EMuShareMem'
gmake -C world
gmake[1]: Entering directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/world'
gcc -c -I/usr/local/include/pthread/linuxthreads -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Wno-deprecated -g -O -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DFREEBSD -D__USE_UNIX98 -Di386 -I'/usr/local/include/mysql' ../common/Mutex.cpp -o ../common/Mutex.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
../common/Mutex.cpp: In constructor `Mutex::Mutex()':
../common/Mutex.cpp:80: error: `PTHREAD_MUTEX_RECURSIVE_NP' was not declared in this scope
../common/Mutex.cpp:80: warning: unused variable 'PTHREAD_MUTEX_RECURSIVE_NP'
gmake[1]: *** [../common/Mutex.o] Error 1
gmake[1]: Leaving directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/world'
gmake: *** [all] Error 2

Gna! Whats wrong now? Me bash with club?

uname:
Code:

FreeBSD alpha-labs.net 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Sat Dec 15 14:19:52 CET 2007    root@alpha-labs.net:/usr/obj/usr/src/sys/ALPHALABS  amd64
Thanks for any hint(s)/pointer(s)/advice!

-Chris.

narcberry 01-02-2008 08:28 AM

All the typical BSD compile issues are covered here and there, although it may take you a while to find. So, sorry I cannot be of immediate help, but the answers are around.

amraist 01-24-2008 03:01 AM

Code:

$ gmake
gmake -C EMuShareMem
gmake[1]: Entering directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/EMuShareMem'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/EMuShareMem'
gmake -C world
gmake[1]: Entering directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/world'
gcc -c -I/usr/local/include/pthread/linuxthreads -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Wno-deprecated -g -O -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DFREEBSD -D__USE_UNIX98 -Di386 -I'/usr/local/include/mysql' ../common/Mutex.cpp -o ../common/Mutex.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
../common/Mutex.cpp: In constructor `Mutex::Mutex()':
../common/Mutex.cpp:80: error: `PTHREAD_MUTEX_RECURSIVE_NP' was not declared in this scope
../common/Mutex.cpp:80: warning: unused variable 'PTHREAD_MUTEX_RECURSIVE_NP'
gmake[1]: *** [../common/Mutex.o] Error 1
gmake[1]: Leaving directory `/usr/home/chris/eq/EQEmu-0.7.0-1070/world'
gmake: *** [all] Error 2

I think it's having a problem finding pthread.h. Do you have the linuxthreads port installed? You should have a pthread.h in /usr/local/include/pthread/linuxthreads


All times are GMT -4. The time now is 04:04 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.