[ntp:questions] new 4.2.8 build on older buntu

Gene Heskett gheskett at wdtv.com
Mon Dec 22 18:55:09 UTC 2014


Greetings all;

1. Several of these questions below really ought to be in the not built 
man pages, or in the tarballs html files, but are not.

2. Where does it expect to find its ntp.conf file?  On old buntu, its 
/etc/default/ntp where ntp is the file.  This is the location and filename 
used in the /etc/init.d/ntp control script.

3. I first built it with --enable-clockctl, but this is failing and the 
ntpq responses are showing a steady negative drift.

So next I tried configureing it with a few more of the usual suspects 
enabled:
./configure --enable-clockctl --enable-linuxcaps --enable-accurate-adjtime

But the make then bails out:

ntpd.c:108:29: error: sys/capability.h: No such file or directory
ntpd.c: In function ‘ntpdmain’:
ntpd.c:970: error: ‘cap_t’ undeclared (first use in this function)
ntpd.c:970: error: (Each undeclared identifier is reported only once
ntpd.c:970: error: for each function it appears in.)
ntpd.c:970: error: expected ‘;’ before ‘caps’
ntpd.c:976: error: ‘caps’ undeclared (first use in this function)
ntpd.c:976: warning: implicit declaration of function ‘cap_from_text’
ntpd.c:983: warning: implicit declaration of function ‘cap_set_proc’
ntpd.c:988: warning: implicit declaration of function ‘cap_free’
make[3]: *** [ntpd.o] Error 1
make[3]: Leaving directory `/usr/src/ntp-4.2.8/ntpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/ntp-4.2.8/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ntp-4.2.8'
make: *** [all] Error 2

This file exists in several locations, the most obvious being:
/usr/include/linux/capability.h

This looks to be a correctable by a configuration argument, but which one?

Thanks everybody.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


More information about the questions mailing list