[ntp:questions] Attn Linux distributors - pse include PPS

Rob nomail at example.com
Thu Apr 24 19:31:11 UTC 2014


On two different distributions, openSUSE 13.1 and Ubuntu 14.04, I
noticed that while everything is available to support kernel PPS,
the distributed ntpd is compiled without refclock 22 (Atom) support.

This apparently is not intentional, as the ./configure command on
both distributions includes many parameters to force inclusion of
as many refclocks as possible.

However, prerequisite of the compilation of kernel PPS is the
availability of the file /usr/include/sys/timepps.h during the
./configure phase of compilation of the ntpd package.

"all that is required" to get PPS working is to fetch the source
package of ntpd for the distribution and recompile it while that
single file has been added.  e.g. on Ubuntu that file is present
in the package pps-tools.

So please, on your build systems, make sure that the package
pps-tools or whatever other source used for timepps.h is installed
during the compilation of ntpd.

It makes the use of PPS much easier, as one does not have to find
how to successfully compile a package from source on that particular
system.  And it will not be causing trouble when updates appear.



More information about the questions mailing list