[LinuxPPS] web timepps.h no joy

Rodolfo Giometti giometti at enneenne.com
Mon Jun 25 09:42:19 CEST 2007


On Sun, Jun 24, 2007 at 09:56:13PM -0700, gnu not unix wrote:
> 
> 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)

Did you get the branch "new_syscall_API"?

> For what its worth, the ppsctl compiles ok and I can enable
> my /dev/ttyS0 and see it in /sys/class/pps/00 directory.

ppsctl is just a normal UNIX program and doesn't use the PPS API, but
I can't understand how you can run PPS if you get compiling
error... maybe you are using ppsctl with the old one?

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127



More information about the LinuxPPS mailing list