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
--enable-linuxcaps=yes
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
_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions