[LinuxPPS] 2.6.28...

Ritter, Nicholas Nicholas.Ritter at americantv.com
Mon Dec 29 16:49:48 CET 2008


Should this be done for all of the symlinks?
 
I am building for 2.6.28 and first I got a build error with the userland tools then I modified the sym link for asm and I get the following build error:
 
cc -Wall -O2 -D_GNU_SOURCE -I . -ggdb -D__N_PPS=18    ppstest.c   -o ppstest
In file included from /usr/include/linux/types.h:12,
                 from /usr/include/linux/pps.h:38,
                 from ./timepps.h:27,
                 from ppstest.c:10:
/usr/include/asm/types.h:4:34: error: asm-generic/int-ll64.h: No such file or directory
In file included from /usr/include/linux/pps.h:38,
                 from ./timepps.h:27,
                 from ppstest.c:10:
/usr/include/linux/types.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16'
/usr/include/linux/types.h:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16'
/usr/include/linux/types.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32'
/usr/include/linux/types.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32'
/usr/include/linux/types.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64'
/usr/include/linux/types.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64'
/usr/include/linux/types.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sum16'
/usr/include/linux/types.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wsum'
In file included from ./timepps.h:27,
                 from ppstest.c:10:
/usr/include/linux/pps.h:61: error: expected specifier-qualifier-list before '__s64'
/usr/include/linux/pps.h:68: error: expected specifier-qualifier-list before '__u32'
In file included from ppstest.c:10:
./timepps.h: In function 'time_pps_getparams':
./timepps.h:124: error: 'struct pps_ktime' has no member named 'sec'
./timepps.h:125: error: 'struct pps_ktime' has no member named 'nsec'
./timepps.h:126: error: 'struct pps_ktime' has no member named 'sec'
./timepps.h:127: error: 'struct pps_ktime' has no member named 'nsec'
./timepps.h: In function 'time_pps_setparams':
./timepps.h:139: error: 'struct pps_ktime' has no member named 'sec'
./timepps.h:140: error: 'struct pps_ktime' has no member named 'nsec'
./timepps.h:141: error: 'struct pps_ktime' has no member named 'sec'
./timepps.h:142: error: 'struct pps_ktime' has no member named 'nsec'
./timepps.h: In function 'time_pps_fetch':
./timepps.h:167: error: 'struct pps_ktime' has no member named 'sec'
./timepps.h:168: error: 'struct pps_ktime' has no member named 'nsec'
./timepps.h:169: error: 'struct pps_ktime' has no member named 'flags'
./timepps.h:171: error: 'struct pps_ktime' has no member named 'flags'
./timepps.h:175: error: 'struct pps_kinfo' has no member named 'assert_sequence'
./timepps.h:176: error: 'struct pps_kinfo' has no member named 'clear_sequence'
./timepps.h:177: error: 'struct pps_kinfo' has no member named 'assert_tu'
./timepps.h:178: error: 'struct pps_kinfo' has no member named 'assert_tu'
./timepps.h:179: error: 'struct pps_kinfo' has no member named 'clear_tu'
./timepps.h:180: error: 'struct pps_kinfo' has no member named 'clear_tu'
./timepps.h:181: error: 'struct pps_kinfo' has no member named 'current_mode'
make: *** [ppstest] Error 1
 
 

________________________________

From: linuxpps-bounces at ml.enneenne.com on behalf of Udo van den Heuvel
Sent: Fri 12/26/2008 5:03 AM
To: linuxpps at ml.enneenne.com
Subject: Re: [LinuxPPS] 2.6.28...



Udo van den Heuvel wrote:
> At least it sees the pps again.
>
> What is the replacement for 'dynamic' in ntp.conf?

preempt.

Also:

To make ntpd build I had to change a link. After following the howto at
http://wiki.enneenne.com/index.php/LinuxPPS_installation for making
links in /usr/include I got a build error when I tried to build ntpd.

After making /usr/include/asm point to
/lib/modules/2.6.28/build/arch/x86/include/asm the build worked OK.

Udo

_______________________________________________
LinuxPPS mailing list
LinuxPPS at ml.enneenne.com
http://ml.enneenne.com/cgi-bin/mailman/listinfo/linuxpps
Wiki: http://wiki.enneenne.com/index.php/LinuxPPS_support






More information about the LinuxPPS mailing list