[LinuxPPS] cross posting [time-nuts] NTP API on Linux 2.6.26
Udo van den Heuvel
udovdh at xs4all.nl
Sun Jan 11 08:35:18 CET 2009
Udo van den Heuvel wrote:
> Hal V. Engel wrote:
>> I was using ntp-4.2.5p135 when I was having this problem. I moved back to
>> 4.2.4p6 (latest stable version) and tested again. This appears to be working
>> OK with LIBS="-lrt". So it appears that there were issues with the version of
>> ntp I was using.
>
> So I just patch the Makefile?
> Or is there a ./configure trick to use librt?
In the redhat rpm for ntp I find:
# clock_gettime needs -lrt
sed -i.gettime 's|^LIBS = @LIBS@|& -lrt|' ntp{d,q,dc,date}/Makefile.in
But my precision looks like:
Dec 26 11:02:31 epia ntpd[13820]: precision = 1.000 usec
Dec 26 11:29:41 epia ntpd[13969]: precision = 1.541 usec
So?
More information about the LinuxPPS
mailing list