PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/ntp/html/build/hints/decosf2

https://bitbucket.org/freebsd/freebsd-head/
#! | 54 lines | 41 code | 13 blank | 0 comment | 0 complexity | 8c98c0d98fd7c42c42d5fb55cef2e6f0 MD5 | raw file
 1Problems with DEC OSF/1 V2.0
 2
 3Compilation using gcc fails with ntp_config.c. The problem is an apparent
 4error in the /usr/include/sys/procset.h and /usr/include/sys/wait.h
 5include files.
 6
 7cowbird:/usr/include/sys# diff -c wait.h.orig wait.h
 8*** wait.h.orig Tue Feb 22 02:41:38 1994
 9--- wait.h      Thu Aug 25 14:52:57 1994
10***************
11*** 298,304 ****
12  #else
13  
14  _BEGIN_CPLUSPLUS
15! extern int waitid(idtype_t, id_t, siginfo_t *, int);
16  _END_CPLUSPLUS
17  #endif /* _NO_PROTO */
18  
19--- 298,304 ----
20  #else
21  
22  _BEGIN_CPLUSPLUS
23! extern int waitid(idtype_t, pid_t, siginfo_t *, int);
24  _END_CPLUSPLUS
25  #endif /* _NO_PROTO */
26
27cowbird:/usr/include/sys# diff -c procset.h.orig procset.h
28*** procset.h.orig      Tue Feb 22 02:41:44 1994
29--- procset.h   Thu Aug 25 14:43:52 1994
30***************
31*** 86,95 ****
32                                 */
33  
34        idtype_t p_lidtype;     /* The id type for the left set. */
35!       id_t p_lid;             /* The id for the left set. */
36  
37        idtype_t p_ridtype;     /* The id type of for right set. */
38!       id_t p_rid;             /* The id of the right set. */
39  } procset_t;
40  
41  
42--- 86,95 ----
43                                 */
44  
45        idtype_t p_lidtype;     /* The id type for the left set. */
46!       pid_t p_lid;            /* The id for the left set. */
47  
48        idtype_t p_ridtype;     /* The id type of for right set. */
49!       pid_t p_rid;            /* The id of the right set. */
50  } procset_t;
51
52Also, if using gcc from the freeware disk, either replace syscall.h
53in the directory /usr/local/lib/gcc-lib/alpha-dec-osf1/2.3.3/include
54or replace with a link to /usr/include/sys/syscall.h.