Full_Name: Hallvard B Furuseth
Version: HEAD, RE23
OS: OSF1 V5.1 alpha
URL:
Submission from: (NULL) (129.240.202.105)
Submitted by: hallvard
/configure on OSF1 alpha finds no suitable threading
library.
config.log says:
configure:19993: checking pthread.h usability
configure:20005: cc -c -g -I/local/include
-I/local/gnu/include conftest.c
>&5
cc: Error: /usr/include/pthread.h, line 1251: #error
"Please compile the
module including pthread.h with -pthread"
(errormessage)
due to this snippet of pthread.h:
# ifndef _REENTRANT
# error "Please compile the module including pthread.h
with -pthread"
# endif
./configure CC="cc -pthread" works.
Not sure how to deal with that one. Seems a bit excessive
to run all
the OL_PTHREAD_TRY()s _before_ detecting that the system has
pthread.
Maybe write a special case, like try for pthread.h with
-D_REENTRANT
if not found without that?
|