xntp-3.4x fails to compile with linux 1.3.30

Andrew Howell (andrew@kryten.it.com.au)
Thu, 28 Sep 1995 21:55:31 +0800 (WST)


The new time code in the kernel seems to have broken xntp. Firstly
my current version of xntpd just coredumps when run under 1.3.28 and
greater.
Works fine under 1.2.13

So I decided to compile a new version, 3.4x.
With the 1.3.30 includes it fails to compile on ntp_unixclock.c
because it includes <sys/time.h> which includes the kernel's time.h

ntp_unixclock.c:669: structure has no member named `mode'

Changing the kernel includes to 1.2.13 and it compiles fine.

Andrew

-----------------------------------------------------------------------
Dehydration - 34%, Recollection of previous evening - 2%, embarrassment
factor - 91%. Advise repair schedule:- off line for 36 hours, re-boot
startup disk, and replace head - wow, what a night!
-- Kryten in Red Dwarf `The Last Day'

Andrew Howell andrew@it.com.au
Perth, Western Australia howellaa@cs.curtin.edu.au