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