xref: /netbsd-src/external/bsd/ntp/dist/html/hints/decosf2 (revision abb0f93cd77b67f080613360c65701f85e5f5cfe)
1*abb0f93cSkardelProblems with DEC OSF/1 V2.0
2*abb0f93cSkardel
3*abb0f93cSkardelCompilation using gcc fails with ntp_config.c. The problem is an apparent
4*abb0f93cSkardelerror in the /usr/include/sys/procset.h and /usr/include/sys/wait.h
5*abb0f93cSkardelinclude files.
6*abb0f93cSkardel
7*abb0f93cSkardelcowbird:/usr/include/sys# diff -c wait.h.orig wait.h
8*abb0f93cSkardel*** wait.h.orig Tue Feb 22 02:41:38 1994
9*abb0f93cSkardel--- wait.h      Thu Aug 25 14:52:57 1994
10*abb0f93cSkardel***************
11*abb0f93cSkardel*** 298,304 ****
12*abb0f93cSkardel  #else
13*abb0f93cSkardel
14*abb0f93cSkardel  _BEGIN_CPLUSPLUS
15*abb0f93cSkardel! extern int waitid(idtype_t, id_t, siginfo_t *, int);
16*abb0f93cSkardel  _END_CPLUSPLUS
17*abb0f93cSkardel  #endif /* _NO_PROTO */
18*abb0f93cSkardel
19*abb0f93cSkardel--- 298,304 ----
20*abb0f93cSkardel  #else
21*abb0f93cSkardel
22*abb0f93cSkardel  _BEGIN_CPLUSPLUS
23*abb0f93cSkardel! extern int waitid(idtype_t, pid_t, siginfo_t *, int);
24*abb0f93cSkardel  _END_CPLUSPLUS
25*abb0f93cSkardel  #endif /* _NO_PROTO */
26*abb0f93cSkardel
27*abb0f93cSkardelcowbird:/usr/include/sys# diff -c procset.h.orig procset.h
28*abb0f93cSkardel*** procset.h.orig      Tue Feb 22 02:41:44 1994
29*abb0f93cSkardel--- procset.h   Thu Aug 25 14:43:52 1994
30*abb0f93cSkardel***************
31*abb0f93cSkardel*** 86,95 ****
32*abb0f93cSkardel                                 */
33*abb0f93cSkardel
34*abb0f93cSkardel        idtype_t p_lidtype;     /* The id type for the left set. */
35*abb0f93cSkardel!       id_t p_lid;             /* The id for the left set. */
36*abb0f93cSkardel
37*abb0f93cSkardel        idtype_t p_ridtype;     /* The id type of for right set. */
38*abb0f93cSkardel!       id_t p_rid;             /* The id of the right set. */
39*abb0f93cSkardel  } procset_t;
40*abb0f93cSkardel
41*abb0f93cSkardel
42*abb0f93cSkardel--- 86,95 ----
43*abb0f93cSkardel                                 */
44*abb0f93cSkardel
45*abb0f93cSkardel        idtype_t p_lidtype;     /* The id type for the left set. */
46*abb0f93cSkardel!       pid_t p_lid;            /* The id for the left set. */
47*abb0f93cSkardel
48*abb0f93cSkardel        idtype_t p_ridtype;     /* The id type of for right set. */
49*abb0f93cSkardel!       pid_t p_rid;            /* The id of the right set. */
50*abb0f93cSkardel  } procset_t;
51*abb0f93cSkardel
52*abb0f93cSkardelAlso, if using gcc from the freeware disk, either replace syscall.h
53*abb0f93cSkardelin the directory /usr/local/lib/gcc-lib/alpha-dec-osf1/2.3.3/include
54*abb0f93cSkardelor replace with a link to /usr/include/sys/syscall.h.
55