EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=618)
-   -   V0.1.9 cannot compile on my linux box :( (https://www.eqemulator.org/forums/showthread.php?t=37)

themax 01-20-2002 08:22 PM

V0.1.9 cannot compile on my linux box :(
 
[root@viva world]# make
gcc -c -g -m486 -O3 -pthread -pipe -DFX -I/usr/include/mysql client.cpp -o clien
t.o
client.cpp: In method `ClientList::ClientList ()':
client.cpp:499: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared
(first use this function)
client.cpp:499: (Each undeclared identifier is reported only once for
each function it appears in.)
client.cpp:500: `pthread_mutex_lock' undeclared (first use this
function)
client.cpp:501: `pthread_mutex_unlock' undeclared (first use this
function)
make: *** [client.o] Error 1

DeletedUser 01-20-2002 11:58 PM

Yep, the linux version is hosed until someone figures out how to create a recursive mutex. :/

I've tried and cant figure it out.

Raptor 01-24-2002 06:06 AM

Sorry for my hack I gave you Quagmire, but this one should work better :)

Add -D_USE_GNU in the compiler options (makefile)
(or defined it before calling pthread.h, look at that file :) )


All times are GMT -4. The time now is 05:58 PM.

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