home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / protocol / time / ntp / 1227 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  2.1 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!ucbvax!sdd.hp.com!ken
  2. From: ken@sdd.hp.com (Ken Stone)
  3. Newsgroups: comp.protocols.time.ntp
  4. Subject: Re: xntp on HP 710 running HP-UX 8.05 - problems
  5. Message-ID: <9301212011.AA13318@hpsdlz.sdd.hp.com>
  6. Date: 21 Jan 93 20:11:33 GMT
  7. References: <9301211459.AA00616@relay1.UU.NET>
  8. Sender: usenet@ucbvax.BERKELEY.EDU
  9. Distribution: inet
  10. Organization: The Internet
  11. Lines: 56
  12.  
  13.  
  14. For those of you on the list ... this was asked of me by David when the
  15. latest stuff bombed oh HP-UX.
  16.  
  17. > xntpd failed to compile due to the fact that we seem to be missing 
  18. > the following two files:
  19. > refclock_as2201.c: 25: Can't find include file stropts.h
  20. > ./include/sys/clkdefs.h: 6: Can't find include file sys/ioccom.h
  21. > I can't find either file anywhere on our system. Is our system lacking,
  22. > or is xntp expecting things that it should not expect? 
  23. > I am trying to build NTP Version 3....
  24.  
  25. The problem is with the new clock driver refclock_as2201.c ... the ifdef
  26. that enables the Austron code is a bit low :-)  Its include files start
  27. making assumptions beyond HP-UX's means (ie STREAMS).  Attached is a patch
  28. to just scoot up the ifdef and make everyone happy.
  29.  
  30.   -- Ken
  31.  
  32. P.S. Dave Mills ... did you really mean "just plain ole diffs" or just 
  33.      "no fancy GNU" stuff ?  This one is still a context since the plain
  34.      ole really ugly diff wasn't very meaningful.
  35.  
  36.  
  37. *** xntpd/refclock_as2201.c.orig    Thu Jan 21 11:52:15 1993
  38. --- xntpd/refclock_as2201.c    Thu Jan 21 11:52:35 1993
  39. ***************
  40. *** 21,32 ****
  41.   #include "ntp_refclock.h"
  42.   #include "ntp_unixtime.h"
  43.   
  44.   #include <stropts.h>
  45.   #include <sys/clkdefs.h>
  46.   #include "ntp_unixtime.h"
  47.   #include <sys/ppsclock.h>
  48. - #if defined(REFCLOCK) && defined(AS2201)
  49.   
  50.   /*
  51.    * This driver supports the Austron 2201 GPS Timing Receiver
  52. --- 21,32 ----
  53.   #include "ntp_refclock.h"
  54.   #include "ntp_unixtime.h"
  55.   
  56. + #if defined(REFCLOCK) && defined(AS2201)
  57.   #include <stropts.h>
  58.   #include <sys/clkdefs.h>
  59.   #include "ntp_unixtime.h"
  60.   #include <sys/ppsclock.h>
  61.   
  62.   /*
  63.    * This driver supports the Austron 2201 GPS Timing Receiver
  64.