[LinuxPPS] building ntpd for debian with nmea patch applied

Folkert van Heusden folkert at vanheusden.com
Sun Jan 11 19:22:55 CET 2009


> > If you use this:
> > CFLAGS="$CFLAGS -I/lib/modules/`uname -r`/build/include -I/lib/modules/`uname -r`/build/Documentation/pps -I /usr/include -DHAVE_PPSAPI" LDFLAGS=-lrt ./configure --prefix=/usr/local/ntp --disable-all-clocks --disable-parse-clocks --enable-NMEA --enable-LOCAL-CLOCK
> > 
> > It *does* work.
> 
> But *what* is the difference that you made?

I did not create the symlinks, I did not copy timepps.h.

> > (you might notice that the ppsldisc included in Rodolpho's doesn't
> > accept the parameters as seen above, for that use the patch which can be
> > found here: http://vanheusden.com/Linux/ppsldisc.patch.bz2 )
> What does it do?

folkert at belle:~/bin/ntp$ /usr/local/sbin/ppsldisc -h
usage: /usr/local/sbin/ppsldisc <ttyS>
-e    exit after setting (might not work in all situations)
-f    do not fork into the background
-d x  use device 'x', default is /dev/ttyS0
-p x  write pid to file 'x', default is /var/run/ppsldisc.pid
-v    be more verbose
-V    show version
-h    this help

e.g. easier configurable from commandline and easier to stop as it
writes its pid to a file


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