/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

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