From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,782f77f52183fed3,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-12-09 06:27:54 PST Path: bga.com!news.sprintlink.net!pipex!uunet!zib-berlin.de!ceres.fokus.gmd.de!nntp.gmd.de!not-for-mail From: lux@gmdzi.gmd.de (Wolfgang Lux) Newsgroups: comp.unix.osf.misc Subject: DCE: error when compiling public domain rpc Date: 9 Dec 1994 14:22:36 +0100 Organization: GMD, Sankt Augustin, Germany Message-ID: <3c9lms$onm@gmdzi.gmd.de> NNTP-Posting-Host: gmdzi.gmd.de Summary: when compiling pd rpc there is an error in include files Keywords: DCE rpc public domain include when I compiled the public domain rpc within my dce environment, I got an error in exc_handling.c. The problem is, that some include files are provided by the public domain software (exc_handling.h) and some (pthread.h) are not. In this particular case: - exc_handling.c includes pthread.h - pthread.h includes cma.h and defines the type pthread_key_t later on - cma.h includes exc_handling.h - exc_handling.h uses extern pthread_key_t, which will be defined later in the body of pthread_h. The error did not occur before, as my old version of exc_handling.h did not use pthread_key_t. The old exc_handling.h can not be used, because exc_handling.c needs the new version. The error occurred on a Unixware system and on a dec-osf1 system. Does anybody know, how to resolve the conflict without modifying the include files? Wolfgang Lux -- Wolfgang Lux German National Research Center for Computer Science (GMD) P.O. Box 1316 D-53757 St. Augustin email: wolfgang.lux@gmd.de fax: +49 2241 142105 tel: +49 2241 142424