[ntp:questions] Using Trimble TSIP under Linux
David Taylor
david-taylor at blueyonder.co.uk.invalid
Mon Oct 29 12:20:52 UTC 2012
On 29/10/2012 10:45, David Taylor wrote:
[]
> pi at raspberrypi ~ $ sudo /etc/init.d/ntp restart
> [ ok ] Stopping NTP server: ntpd.
> [....] Starting NTP server: ntpd/usr/sbin/ntpd: The ``user'' option has
> been disabled -- built without --enable-clockctl or --enable-linuxcaps
> ntpd - NTP daemon program - Ver. 4.2.7p314
> USAGE: ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
> [ <server1> ... <serverN> ]
> failed!
There's a suggestion on the Web that I should have built with extra
configuration switches, so I tried that, but it failed:
$ ./configure --enable-clockctl --enable-linuxcaps
$ make
..
..
../../ntpd/ntp_parser.c:2110:6: warning: assuming pointer wraparound
does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
../../ntpd/ntp_parser.c:2110:6: warning: assuming pointer wraparound
does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
../../ntpd/ntp_parser.c:2110:6: warning: assuming pointer wraparound
does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
CC ntp_scanner.o
CC ntpd.o
ntpd.c:111:29: fatal error: sys/capability.h: No such file or directory
compilation terminated.
make[3]: *** [ntpd.o] Error 1
make[3]: Leaving directory `/home/pi/ntp/ntp-dev-4.2.7p314/ntpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pi/ntp/ntp-dev-4.2.7p314/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pi/ntp/ntp-dev-4.2.7p314'
make: *** [all] Error 2
$
Looking round the disk I do see a file:
/usr/include/linux/capability.h
I hope the ./configure was OK, but why this version doesn't build is
beyond me at the moment!
--
Cheers,
David
Web: http://www.satsignal.eu
More information about the questions
mailing list