From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752670AbcBAIYo (ORCPT ); Mon, 1 Feb 2016 03:24:44 -0500 Received: from mail.pod.cz ([213.155.227.146]:50045 "EHLO mail.pod.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbcBAIYm (ORCPT ); Mon, 1 Feb 2016 03:24:42 -0500 X-Greylist: delayed 373 seconds by postgrey-1.27 at vger.kernel.org; Mon, 01 Feb 2016 03:24:41 EST Date: Mon, 1 Feb 2016 09:18:26 +0100 From: Vitezslav Samel To: Ulrich Windl Cc: linux-kernel@vger.kernel.org Subject: Re: and NTP incompatibility (MOD_NANO) Message-ID: <20160201081826.GA547@pc11.op.pod.cz> Mail-Followup-To: Ulrich Windl , linux-kernel@vger.kernel.org References: <56AF1971020000A10001FD75@gwsmtp1.uni-regensburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56AF1971020000A10001FD75@gwsmtp1.uni-regensburg.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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