git branch, was Re: [LinuxPPS] web timepps.h no joy
gnu not unix
gnu at wraith.sf.ca.us
Mon Jun 25 16:49:04 CEST 2007
In message <20070625074219.GC5942 at enneenne.com> you write:
>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 fu
>Did you get the branch "new_syscall_API"?
Ahh thanks for reminding me. Well I just tried:
git checkout -b new_syscall_API
...and it silently did nothing that I could see.
I went back into menuconfig and somehow the uart support
was "forced off" and I had to delete PPS support and re-enable
it, then the uart support was enabled. I'm recompiling the
kernel now, and its rebuilding things, I guess due to menuconfig
touching stuff.
>> 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?
I guess that doesn't matter, let's see how far I get with this
new kernel. Somehow source code management tools cause me trouble.
../Steven
More information about the LinuxPPS
mailing list