[LinuxPPS] web timepps.h no joy
gnu not unix
gnu at wraith.sf.ca.us
Mon Jun 25 06:56:13 CEST 2007
I tried to get back up to date and got a clone of the git for
linuxpps. The kernel built fine.
Then, I tried to put the web copy of timepps.h in the /usr/include
but get compile errors:
gcc -g -o ppstest ppstest.c
In file included from ppstest.c:10:
/usr/include/timepps.h:187: error: syntax error before 'pps_params_t'
/usr/include/timepps.h: In function 'time_pps_setparams':
/usr/include/timepps.h:195: error: 'handle' undeclared (first use in this function)
For what its worth, the ppsctl compiles ok and I can enable
my /dev/ttyS0 and see it in /sys/class/pps/00 directory.
../Steven
More information about the LinuxPPS
mailing list