Bug 505566 - timex.h: #define MOD_NANO ADJ_NANO missing
Summary: timex.h: #define MOD_NANO ADJ_NANO missing
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 11
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-12 13:25 UTC by udo
Modified: 2009-11-23 02:46 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-23 02:46:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description udo 2009-06-12 13:25:55 UTC
Description of problem:
timex.h as distributed with F11 is missing the definition for MOD_NANO, necessary to build ntpd with nano support.

Version-Release number of selected component (if applicable):
glibc-headers-2.10.1-2.i586

How reproducible:
Upgrade F10 to F11.
Compile ntpd

Steps to Reproduce:
1. Upgrade F10 to F11.
2. Compile ntpd
3. See error about missing MOD_NANO
  
Actual results:
error about missing MOD_NANO

Expected results:
Clean compile

Additional info:
#define MOD_NANO        ADJ_NANO

--- timex.h.normaal.ok	2009-06-12 12:48:48.000000000 +0200
+++ timex.h	2009-06-12 12:57:44.000000000 +0200
@@ -85,6 +85,7 @@
 #define MOD_TIMECONST	ADJ_TIMECONST
 #define MOD_CLKB	ADJ_TICK
 #define MOD_CLKA	ADJ_OFFSET_SINGLESHOT /* 0x8000 in original */
+#define MOD_NANO        ADJ_NANO
 
 
 /* Status codes (timex.status) */

Comment 1 udo 2009-06-12 13:26:51 UTC
sys/timex.h

Comment 2 Miroslav Lichvar 2009-06-12 16:10:40 UTC
Please add also:

#define MOD_TAI ADJ_TAI

Comment 3 udo 2009-06-13 09:17:14 UTC
Also see https://bugzilla.redhat.com/show_bug.cgi?id=479558

Comment 4 Ulrich Drepper 2009-11-23 02:46:36 UTC
Upstream has the definitions.  Should be in the next rawhide build.


Note You need to log in before you can comment on or make changes to this bug.