I have a newly installed 64-bit Linux Debian 7.7 system where I am trying to bring up NTP with PPS support. Using ppstest /dev/pps0 I get the expected assert messages. I have gpsd configured and working. Having configured and compiled NTP I get the error message:

  clock type 22 invalid

On checking the config.log I see that timepps.h is missing:

root@Pixie:~/ntp/ntp-dev-4.2.7p485-RC# cat config.log | grep timepps
configure:27520: checking for sys/timepps.h
configure:28812: checking timepps.h usability
conftest.c:230:21: fatal error: timepps.h: No such file or directory
| #include <timepps.h>
configure:28812: checking timepps.h presence
conftest.c:197:21: fatal error: timepps.h: No such file or directory
| #include <timepps.h>
configure:28812: checking for timepps.h
ac_cv_header_sys_timepps_h=yes
ac_cv_header_timepps_h=no

but on searching the disk timepps.h does appear to be present, and in the correct directory:

root@Pixie:~/ntp/ntp-dev-4.2.7p485-RC# find / -name 'timepps.h'
/usr/include/sys/timepps.h
/root/ntp/ntp-dev-4.2.7p485-RC/ports/winnt/ppsapi/loopback/src/timepps.h
/root/ntp/ntp-dev-4.2.7p485-RC/ports/winnt/include/timepps.h

What might be happening, please?  What's wrong?

Thanks,
David
--
Cheers,
David
Web: http://www.satsignal.eu

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to