1258945SrobertoProblems with DEC OSF/1 V2.0
2258945Sroberto
3258945SrobertoCompilation using gcc fails with ntp_config.c. The problem is an apparent
4258945Srobertoerror in the /usr/include/sys/procset.h and /usr/include/sys/wait.h
5258945Srobertoinclude files.
6258945Sroberto
7258945Srobertocowbird:/usr/include/sys# diff -c wait.h.orig wait.h
8258945Sroberto*** wait.h.orig Tue Feb 22 02:41:38 1994
9258945Sroberto--- wait.h      Thu Aug 25 14:52:57 1994
10258945Sroberto***************
11258945Sroberto*** 298,304 ****
12258945Sroberto  #else
13258945Sroberto  
14258945Sroberto  _BEGIN_CPLUSPLUS
15258945Sroberto! extern int waitid(idtype_t, id_t, siginfo_t *, int);
16258945Sroberto  _END_CPLUSPLUS
17258945Sroberto  #endif /* _NO_PROTO */
18258945Sroberto  
19258945Sroberto--- 298,304 ----
20258945Sroberto  #else
21258945Sroberto  
22258945Sroberto  _BEGIN_CPLUSPLUS
23258945Sroberto! extern int waitid(idtype_t, pid_t, siginfo_t *, int);
24258945Sroberto  _END_CPLUSPLUS
25258945Sroberto  #endif /* _NO_PROTO */
26258945Sroberto
27258945Srobertocowbird:/usr/include/sys# diff -c procset.h.orig procset.h
28258945Sroberto*** procset.h.orig      Tue Feb 22 02:41:44 1994
29258945Sroberto--- procset.h   Thu Aug 25 14:43:52 1994
30258945Sroberto***************
31258945Sroberto*** 86,95 ****
32258945Sroberto                                 */
33258945Sroberto  
34258945Sroberto        idtype_t p_lidtype;     /* The id type for the left set. */
35258945Sroberto!       id_t p_lid;             /* The id for the left set. */
36258945Sroberto  
37258945Sroberto        idtype_t p_ridtype;     /* The id type of for right set. */
38258945Sroberto!       id_t p_rid;             /* The id of the right set. */
39258945Sroberto  } procset_t;
40258945Sroberto  
41258945Sroberto  
42258945Sroberto--- 86,95 ----
43258945Sroberto                                 */
44258945Sroberto  
45258945Sroberto        idtype_t p_lidtype;     /* The id type for the left set. */
46258945Sroberto!       pid_t p_lid;            /* The id for the left set. */
47258945Sroberto  
48258945Sroberto        idtype_t p_ridtype;     /* The id type of for right set. */
49258945Sroberto!       pid_t p_rid;            /* The id of the right set. */
50258945Sroberto  } procset_t;
51258945Sroberto
52258945SrobertoAlso, if using gcc from the freeware disk, either replace syscall.h
53258945Srobertoin the directory /usr/local/lib/gcc-lib/alpha-dec-osf1/2.3.3/include
54258945Srobertoor replace with a link to /usr/include/sys/syscall.h.
55