[LinuxPPS] cross posting [time-nuts] NTP API on Linux 2.6.26
Hal V. Engel
hvengel at astound.net
Sun Jan 11 04:50:41 CET 2009
On Saturday 10 January 2009 14:01:20 Hal V. Engel wrote:
> On Saturday 10 January 2009 11:41:08 Udo van den Heuvel wrote:
> > Michael Meier wrote:
> > > You will also need to tell configure to use librt (./configure
> > > LIBS="-lrt") - without librt, ntpd will resort to using gettimeofday
> > > for getting time from the kernel, and that function only returns
> > > microseconds because it is defined that way.
> >
> > How is this on Fedora?
> > My ntpd shows the "nano" thing but do you imply that the accuracy 'under
> > water' could be different?
> >
> > Udo
>
> I just tested ntp configured with LIBS=-lrt". This is on a gentoo x86_64
> system using glibc 2.8 and an ntp snap shot that is about a month old. I
> did not have much luck with ntp built this way since it would not sync up
> correctly.
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.
Hal
More information about the LinuxPPS
mailing list