[Date Prev][Date Next]
pthread.h and pthread_create are not compatible on Solaris 7 (ITS#199)
Full_Name: Larry Williamson
Version: 1.2.1 & 1.2.3
OS: Solaris 7
Submission from: (NULL) (22.214.171.124)
CC=cc ./configure on a solaris 7 system results in...
configure: error: pthread.h and pthread_create are not compatible
I found a similiar problem reported this past Feb in the email archives for
Digital Unix (software bugs/62). The workaround (I _think_) is similiar, but
with a potential problem.
CC=cc LIBS="-lpthread" ./configure
This works, but someone ("Kurt D. Zeilenga" <Kurt@OpenLDAP.Org>) in
the aformentioned article mentioned that doing this was a bad idea. To quote
> I do NOT recommend using "-threads" nor "-lpthreads" as this will cause
> older posix routines to be included. (In fact, this is why the test
Can someone comment on this? Am I digging a bigger whole? Is there a better
way to resolve this problem?