[Date Prev][Date Next]
Re: pthreads Linux (ITS#310)
> At 09:55 PM 9/27/99 GMT, firstname.lastname@example.org wrote:
> >Full_Name: Warren Steffen
> >Version: 1.2.7
> >OS: Linux
> Details please... Which Linux Distribution? Version? kernel
> cc version? libc version? pthread version?
> >I installed the pthreads libraries and when I do a ./configure
> >shows the pthreads.h file was found, but then there is an
> >that says "unknown pthread version. Is there some thing I
forgot to do?
> This error implies that your pthread.h header confused our
> vs "draft4" detection. This can occur if:
> both PTHREAD_ONCE_INIT and pthread_once_init are defined
> neither PTHREAD_ONCE_INIT and pthread_once_init are defined.
> <pthread.h> detection was forced positive
> and <pthread.h> doesn't actually exist.
> install <pthread.h> is incompatible with system headers
> You can examine config.log to determine exactly which pthread.h
> tests passed or failed (and why).
Thanks for your quick response. I found that neither
PTHREAD_ONCE_INIT or pthread_once_init were defined. I tried
the configure on another system with an "older" pthreads version
and the configure worked. I later found that in fact they were 2
different pthread packages'
The package that IS compatable is:
Linuxthreads by Xavier Leroy
The package that IS NOT compatable is:
PCThreads by Michael T. Peterson.
A quick comparison looks like it might be that it is just the
configure that is incompatable. What is your thought on this?