Hi everyone, I'm trying to port aptitude over for use with MacOS X and Fink, but I'm getting this error:
c++ -DLOCALEDIR=\"/sw/share/locale\" -DHAVE_CONFIG_H -Wall -Werror -I.. -I. -I../../lib -I../../intl -I/sw/include -g -O2 -I/sw/lib/sigc++-1.0/include -I/sw/include/sigc++-1.0 -D_REENTRANT -c vscreen.cc vscreen.cc:53: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' was not declared in this scope make[4]: *** [vscreen.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 ### make failed, exit code 2 Failed: compiling aptitude-0.2.10-1 failed I had a grep in /sw/include and found this: #define DEFINE_LOCK(x) pthread_mutex_t x##_lock = PTHREAD_RECURSIVE_MUTEX_INITIA LIZER_NP (from /sw/include/orbit-1.0/ORBitutil/thread-safety.h) Is there any way I could declare "PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP"? What would I declare it as? Any help would be appreciated, Thanks! _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel