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 |
Yep, the linux version is hosed until someone figures out how to create a recursive mutex. :/
I've tried and cant figure it out. |
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.