On Thu, 25 Mar 2004 17:49:24 +0000 Chris Cannam <cannam@xxxxxxxxxxxxxxxxxxxxx> wrote: [...] > > i got following problem (nptl based system): > > MappedStudio.cpp:41: error: parse error before `.' token > > I don't know anything about NPTL, but clearly it doesn't like the > recursive mutex. How is PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP > defined on your system? in /usr/include/pthread.h it looks like: /* Mutex initializers. */ #define PTHREAD_MUTEX_INITIALIZER \ { } #ifdef __USE_GNU # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ { .__data = { .__kind = PTHREAD_MUTEX_RECURSIVE_NP } } # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ { .__data = { .__kind = PTHREAD_MUTEX_ERRORCHECK_NP } } # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ { .__data = { .__kind = PTHREAD_MUTEX_ADAPTIVE_NP } } #endif -- Fryderyk Dziarmagowski