home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!ucbvax!sdd.hp.com!ken
- From: ken@sdd.hp.com (Ken Stone)
- Newsgroups: comp.protocols.time.ntp
- Subject: Re: xntp on HP 710 running HP-UX 8.05 - problems
- Message-ID: <9301212011.AA13318@hpsdlz.sdd.hp.com>
- Date: 21 Jan 93 20:11:33 GMT
- References: <9301211459.AA00616@relay1.UU.NET>
- Sender: usenet@ucbvax.BERKELEY.EDU
- Distribution: inet
- Organization: The Internet
- Lines: 56
-
-
- For those of you on the list ... this was asked of me by David when the
- latest stuff bombed oh HP-UX.
-
- > xntpd failed to compile due to the fact that we seem to be missing
- > the following two files:
- >
- > refclock_as2201.c: 25: Can't find include file stropts.h
- > ./include/sys/clkdefs.h: 6: Can't find include file sys/ioccom.h
- >
- > I can't find either file anywhere on our system. Is our system lacking,
- > or is xntp expecting things that it should not expect?
- >
- > I am trying to build NTP Version 3....
-
- The problem is with the new clock driver refclock_as2201.c ... the ifdef
- that enables the Austron code is a bit low :-) Its include files start
- making assumptions beyond HP-UX's means (ie STREAMS). Attached is a patch
- to just scoot up the ifdef and make everyone happy.
-
- -- Ken
-
- P.S. Dave Mills ... did you really mean "just plain ole diffs" or just
- "no fancy GNU" stuff ? This one is still a context since the plain
- ole really ugly diff wasn't very meaningful.
-
-
- *** xntpd/refclock_as2201.c.orig Thu Jan 21 11:52:15 1993
- --- xntpd/refclock_as2201.c Thu Jan 21 11:52:35 1993
- ***************
- *** 21,32 ****
- #include "ntp_refclock.h"
- #include "ntp_unixtime.h"
-
- #include <stropts.h>
- #include <sys/clkdefs.h>
- #include "ntp_unixtime.h"
- #include <sys/ppsclock.h>
- -
- - #if defined(REFCLOCK) && defined(AS2201)
-
- /*
- * This driver supports the Austron 2201 GPS Timing Receiver
- --- 21,32 ----
- #include "ntp_refclock.h"
- #include "ntp_unixtime.h"
-
- + #if defined(REFCLOCK) && defined(AS2201)
- +
- #include <stropts.h>
- #include <sys/clkdefs.h>
- #include "ntp_unixtime.h"
- #include <sys/ppsclock.h>
-
- /*
- * This driver supports the Austron 2201 GPS Timing Receiver
-