1181834SrobertoProblems with DEC OSF/1 V2.0
2181834Sroberto
3181834SrobertoCompilation using gcc fails with ntp_config.c. The problem is an apparent
4181834Srobertoerror in the /usr/include/sys/procset.h and /usr/include/sys/wait.h
5181834Srobertoinclude files.
6181834Sroberto
7181834Srobertocowbird:/usr/include/sys# diff -c wait.h.orig wait.h
8181834Sroberto*** wait.h.orig Tue Feb 22 02:41:38 1994
9181834Sroberto--- wait.h      Thu Aug 25 14:52:57 1994
10181834Sroberto***************
11181834Sroberto*** 298,304 ****
12181834Sroberto  #else
13181834Sroberto  
14181834Sroberto  _BEGIN_CPLUSPLUS
15181834Sroberto! extern int waitid(idtype_t, id_t, siginfo_t *, int);
16181834Sroberto  _END_CPLUSPLUS
17181834Sroberto  #endif /* _NO_PROTO */
18181834Sroberto  
19181834Sroberto--- 298,304 ----
20181834Sroberto  #else
21181834Sroberto  
22181834Sroberto  _BEGIN_CPLUSPLUS
23181834Sroberto! extern int waitid(idtype_t, pid_t, siginfo_t *, int);
24181834Sroberto  _END_CPLUSPLUS
25181834Sroberto  #endif /* _NO_PROTO */
26181834Sroberto
27181834Srobertocowbird:/usr/include/sys# diff -c procset.h.orig procset.h
28181834Sroberto*** procset.h.orig      Tue Feb 22 02:41:44 1994
29181834Sroberto--- procset.h   Thu Aug 25 14:43:52 1994
30181834Sroberto***************
31181834Sroberto*** 86,95 ****
32181834Sroberto                                 */
33181834Sroberto  
34181834Sroberto        idtype_t p_lidtype;     /* The id type for the left set. */
35181834Sroberto!       id_t p_lid;             /* The id for the left set. */
36181834Sroberto  
37181834Sroberto        idtype_t p_ridtype;     /* The id type of for right set. */
38181834Sroberto!       id_t p_rid;             /* The id of the right set. */
39181834Sroberto  } procset_t;
40181834Sroberto  
41181834Sroberto  
42181834Sroberto--- 86,95 ----
43181834Sroberto                                 */
44181834Sroberto  
45181834Sroberto        idtype_t p_lidtype;     /* The id type for the left set. */
46181834Sroberto!       pid_t p_lid;            /* The id for the left set. */
47181834Sroberto  
48181834Sroberto        idtype_t p_ridtype;     /* The id type of for right set. */
49181834Sroberto!       pid_t p_rid;            /* The id of the right set. */
50181834Sroberto  } procset_t;
51181834Sroberto
52181834SrobertoAlso, if using gcc from the freeware disk, either replace syscall.h
53181834Srobertoin the directory /usr/local/lib/gcc-lib/alpha-dec-osf1/2.3.3/include
54181834Srobertoor replace with a link to /usr/include/sys/syscall.h.
55