[LinuxPPS] timepps.h errors

Udo van den Heuvel udovdh at xs4all.nl
Tue Aug 7 17:55:40 CEST 2007


clemens at dwf.com wrote:
> However when I mv the timepps.h from the Doc directory to
> /usr/include and try to build the userspace programs, I see errors
> like:
> 
> [reg at deneb pps]$ make
> cc -Wall -O2 -D_GNU_SOURCE -I . -ggdb   -c -o ppstest.o ppstest.c
> In file included from ppstest.c:10:
> ./timepps.h:33: error: redefinition of 'struct ntp_fp'
> ./timepps.h:38: error: redefinition of 'union pps_timeu'

Did you do the steps as described at
http://wiki.enneenne.com/index.php/LinuxPPS_support#The_userland_tools ?
(linking in /usr/include ?



More information about the LinuxPPS mailing list