[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problem compiling on HPUX10.20



At 04:35 PM 3/16/00 +0100, David Svanberg wrote:
>Sorry, fellows, I have no idea where to ask this question, if you feel I've
>posted to the wrong list or forum, please let me know. (I didn't find any
>matching lists...) 
>
># csh 
># setenv CC cc 
># ./configure 
> 
>results in: 
>configure: error: could not locate pthread_detach() 
> 
># csh 
># setenv CC cc 
># setenv LIBPATH -L/opt/dce/lib 
># setenv CPPFLAGS -I/opt/dce/include 
># setenv LIBS -ldce 
># ./configure 
> 
>results in: 
>configure: error: pthread.h and pthread_create are not compatible 
> 
>I have no idea what this means! 

This means you have a mismatch between your pthread header and your
pthread library.  This may be resolved by setting appropriate macros
in CPPFLAGS such that alternative prototypes are provided.  See
your <pthread.h> or man pages for details.