[LinuxPPS] Kernel Include files needed in Userland.

Cirilo Bernardo cirilo.bernardo at gmail.com
Tue Aug 26 10:42:15 CEST 2008


On Tue, Aug 26, 2008 at 6:28 PM, Rodolfo Giometti <giometti at enneenne.com> wrote:
[snip]
> The problem is that we have two files: the first is pps.h which is a
> kernel header and is automagically added when you install the kernel,
> the second is timepps.h and cannot be added into kernel files since
> it's simply an userland wrapper whose implement the PPSAPI by
> ioctl()s. This file should be added into proper distro's
> package... i.e. libpps-dev.deb.
>
> Ciao,
>
> Rodolfo
>

Ah, I forgot about that timepps.h file.   This is a tricky situation
since the file cannot be added to the NTP source either.  I guess it
will have to remain an item linked to in the LinuxPPS wiki.  The
distro maintainers will have to add it to their packaged NTP sources
and also patch and build NTP to use linuxpps.   This will have
absolutely no effect on people who use NTP without pps, but users may
have to inform the appropriate maintainer for their distro so that the
support can all be pre-built and end users don't have to run off and
recompile NTP.

- Cirilo



More information about the LinuxPPS mailing list