From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ddf26d72f64f9a1d,start X-Google-Attributes: gidfee84,public From: David Hinz <7587678@mcimail.com> Subject: Problem using when pthread_exc.h Date: 1995/09/25 Message-ID: <447dq3$6gv@hermes.dna.mci.com>#1/1 X-Deja-AN: 110734948 content-type: text/plain; charset=us-ascii organization: MCI x-url: news:comp.unix.osf.osf1 mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.2 alpha) I am converting a threaded application from using just threads to threads with exception handling. I changed the #include to #include and am now getting errors on pthread_mutex_init and pthread_cond_init function calls. The following demonstrates the error: #include #include int main (int argc, char *argv[]) { pthread_mutex_t test1; int result; result = pthread_mutex_init (&test1, pthread_mutexattr_default); } cc -std1 -verbose -c -o threadtest.o threadtest.c -threads /usr/lib/cmplrs/cc/cfe: Error: threadtest.c, line 10: Reference an expression of void type or an incomplete type. (3.2.2.1) result = ptdexc_mutex_init(&test1, pthread_mutexattr_default) ; -----------------------------^ Is there a compile switch that I am missing or some other #include???? This happens on both OSF/1 3.0 and 3.2c. Thanks for any info, David Hinz