Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2008, 07:19 AM
creiss
Fire Beetle
 
Join Date: Jul 2006
Posts: 20
Default 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.
Reply With Quote
  #2  
Old 01-02-2008, 08:28 AM
narcberry
Sarnak
 
Join Date: Mar 2005
Location: Idaho, USA
Posts: 94
Default

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.
__________________
Thanks for answering my questions.
My Website
Reply With Quote
  #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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:51 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3