Brent Gordon writes: > 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 =91ntpdmain=92: > ntpd.c:970:4: error: unknown type name =91cap_t=92 > cap_t caps; > ^ > > > This is at the make stage; I've already done the configure. By default, > --enable-linuxcaps is enabled.
... if support for it exists. > Is this a bug or a problem with my system? I'm thinking the first thing to do is not force --enable-linuxcaps . That will be done for you if sys/compatibility.h and sys/prctl.h exist. Since you are not getting messages about how either one of those files don't exist, it's not the issue and is just a simplification to your setup. > 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. If you need to link both copies of timepps.h then your distro has made changes that are "not the same" as what everybody else is doing. > configure command: > ./configure --enable-parse-clocks --enable-debugging=3Dno > --enable-linuxcaps=3Dyes > 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 The next trick will be for you to figure out why cap_t isn't being found in the place others find it (sys/capability.h). H _______________________________________________ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions