[ntp:questions] Trying to compile ntp-dev-4.2.7p485-RC

Brent Gordon ntp_list at adobe-labs.com
Mon Dec 15 00:34:50 UTC 2014

If I try to compile the latest dev version of NTP using 
--enable-linuxcaps I get the following error:

       CC     ntpd.o
     ntpd.c: In function ‘ntpdmain’:
     ntpd.c:970:4: error: unknown type name ‘cap_t’
         cap_t caps;

This is at the make stage; I've already done the configure.  By default, 
--enable-linuxcaps is enabled.

Is this a bug or a problem with my system?

I had the same problem that David Taylor had with timepps.h being in 
/usr/include/sys instead of /usr/include.  In addition, capability.h was 
in /usr/include/linux instead of /usr/include/sys.  Both issues were 
fixed with soft links.

configure command:
./configure --enable-parse-clocks --enable-debugging=no 

System info:
uname -a
Linux hostname 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 
2014 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty

More information about the questions mailing list