[LinuxPPS] timepps.h errors

clemens at dwf.com clemens at dwf.com
Tue Aug 7 18:09:48 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 ?
> 
No, I hadnt seen that.
But that is a rather gross substitution of files.
If you are going to do that, then why bother having the userland versions of these
files at all?
I guess I like the idea of replacing two pps related files rather than replacing 
the world.


-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the LinuxPPS mailing list