[LinuxPPS] building ntpd for debian with nmea patch applied

Hal V. Engel hvengel at astound.net
Sun Jan 11 17:59:29 CET 2009


On Sunday 11 January 2009 05:51:34 Folkert van Heusden wrote:
> Hi,
>
> Trying to build the latest version of ntpd in debian with the nmea-patch
> applied. Can't get it to work: it ignores the PPS device. lsof shows
> that ntpd does not open it. Previous version still works.
> What I did was:
> - apt-get source ntp
> - applied udo's nmea patch from
> http://ftp.enneenne.com/pub/misc/linuxpps/refclocks/nmea/nmea.patch - added
> "LDFLAGS += -lrt" to ntp-4.2.4p4+dfsg/debian/rules
> - build the package with:
> - debuild -us -uc -d
> - installed it and restarted ntpd
> I verified with strace that it doesn't even try to open /dev/pps0.
>
> Anyone got a hint what I'm doing wrong here?
>
>
> Folkert van Heusden

Is it configured so that it has support for reference clocks built in?  Most 
distros do not build ntp with refclock support.

Hal



More information about the LinuxPPS mailing list