Thread: Bsd & Compile
View Single Post
  #3  
Old 01-24-2008, 03:01 AM
amraist
Fire Beetle
 
Join Date: Aug 2005
Posts: 29
Default

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
Reply With Quote