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

Building with pthreads in Digital Unix 4.0 (ITS#62)



Full_Name: Ashley Frost
Version: 1.1.4
OS: Digital Unix 4.0d
URL: 
Submission from: (NULL) (137.165.10.21)


I couldn't find this information anywhere in the FAQ or mailing list archives,
so I'm offering it to anyone who is having trouble with ./configure and pthread
support for Digital Unix.  It would be especially helpful under the Platform 
Hints in a section for Digital Unix.

If configure stops with the error:

       checking if pthread_create() works... no
       configure: error: pthread.h and pthread_create are not compatible

then do this to resolve the problem:

CC="cc"; export CC
LIBS="-lpthread -lexc"; export LIBS
CFLAGS="-pthread"; export CFLAGS

./configure