[LinuxPPS] building ntpd for debian with nmea patch applied

Folkert van Heusden folkert at vanheusden.com
Sun Jan 11 14:51:34 CET 2009


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

-- 
MultiTail är en flexibel redskap för att fälja logfilar, utför av
commandoer, filtrera, ge färg, sammanfoga, o.s.v. följa.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the LinuxPPS mailing list