Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322888

Re: <sys/timex.h> and NTP incompatibility (MOD_NANO)

From Vitezslav Samel <vitezslav@samel.cz>
Newsgroups linux.kernel
Subject Re: <sys/timex.h> and NTP incompatibility (MOD_NANO)
Date 2016-02-01 09:30 +0100
Message-ID <qXi1Y-8lp-13@gated-at.bofh.it> (permalink)
References <qXhfz-7Jc-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi!

On Mon, Feb 01, 2016 at 08:38:09AM +0100, Ulrich Windl wrote:
> Hi folks!
> 
> I'd wish ntp_loopfilter.c would compile without problems. The mess is
> (I had fixed it about 15 years ago (keyword "PPSkit")) that Linux uses
> ADJ_* flags to do traditional adjtime() things, as well as NTP
> kernel-related things (That's why the Linux syscall is named
> adjtimex()).
> NTP however expects the flags to have names like MOD_* to modify
> settings, and STA_* for status bits to test.
> 
> When <sys/timex.h> lacks a MOD_NANO, but has a STA_NANO, compilation
> of ntpd/ntp_loopfilter.c fails.

  This (userspace) header from glibc package was fixed back in Nov 2009
and was included in glibc-2.12 release dated May 2010. Seems like you
are using very old glibc package. Upgrade first and check again.

	Cheers,
		Vita

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

<sys/timex.h> and NTP incompatibility (MOD_NANO) "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> - 2016-02-01 08:40 +0100
  Re: <sys/timex.h> and NTP incompatibility (MOD_NANO) Vitezslav Samel <vitezslav@samel.cz> - 2016-02-01 09:30 +0100

csiph-web