[LinuxPPS] 2.6.22...

Udo van den Heuvel udovdh at xs4all.nl
Sun Jul 29 16:34:27 CEST 2007


Udo van den Heuvel wrote:
> Ever since running 2.6.22 patches with the 2.6.22-ter patch my ntpd sees
> no PPS sources anymore.
> Any ideas?

Building ntpd using the info at
http://wiki.enneenne.com/index.php/LinuxPPS_support#Compiling_the_code
yields:

(....)
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include
-I../libopts -I/usr/include  -m32 -march=i686 -mtune=c3-2 -pipe -mmmx
-msse -fomit-frame-pointer -ffast-math -finline-functions
-mfpmath=sse,387 -Os -pie -fPIE  -Wall -Wcast-qual -Wmissing-prototypes
-Wpointer-arith -Wshadow -Wstrict-prototypes -MT refclock_nmea.o -MD -MP
-MF ".deps/refclock_nmea.Tpo" -c -o refclock_nmea.o refclock_nmea.c; \
        then mv -f ".deps/refclock_nmea.Tpo" ".deps/refclock_nmea.Po";
else rm -f ".deps/refclock_nmea.Tpo"; exit 1; fi
In file included from ppsapi_timepps.h:9,
                 from refclock_nmea.c:27:
/usr/include/timepps.h: In function 'netlink_msg':
/usr/include/timepps.h:72: error: storage size of 'dest_addr' isn't known
/usr/include/timepps.h:87: error: 'PPSAPI_MAX_PAYLOAD' undeclared (first
use in this function)
/usr/include/timepps.h:87: error: (Each undeclared identifier is
reported only once
/usr/include/timepps.h:87: error: for each function it appears in.)
/usr/include/timepps.h:92: error: dereferencing pointer to incomplete type
/usr/include/timepps.h:93: error: dereferencing pointer to incomplete type
/usr/include/timepps.h:94: error: dereferencing pointer to incomplete type
/usr/include/timepps.h:95: error: invalid application of 'sizeof' to
incomplete type 'struct pps_netlink_msg'
/usr/include/timepps.h:98: error: dereferencing pointer to incomplete type
/usr/include/timepps.h:116: error: invalid application of 'sizeof' to
incomplete type 'struct pps_netlink_msg'
/usr/include/timepps.h:117: error: dereferencing pointer to incomplete type
/usr/include/timepps.h:118: error: dereferencing pointer to incomplete type
/usr/include/timepps.h: In function 'time_pps_create':
/usr/include/timepps.h:130: error: storage size of 'src_addr' isn't known
/usr/include/timepps.h:130: error: storage size of 'dest_addr' isn't known
/usr/include/timepps.h:131: error: storage size of 'nlpps' isn't known
/usr/include/timepps.h:136: error: 'NETLINK_PPSAPI' undeclared (first
use in this function)
(etc)

What did I miss?

Udo



More information about the LinuxPPS mailing list