[LinuxPPS] won't compile if PPS debugging messages is not defined
James Boddington
boddingt at internode.on.net
Mon May 14 11:17:02 CEST 2007
Rodolfo Giometti wrote:
> On Mon, May 14, 2007 at 06:09:42PM +1000, James Boddington wrote:
>> I have to define PPS debugging messages for the kernel to compile.
>> Otherwise I get a few
>>
>> include/linux/serial_core.h: In function `uart_handle_dcd_change':
>> include/linux/serial_core.h:483: warning: implicit declaration of function
>> `pps_dbg
>
> Try this patch:
>
> diff --git a/include/linux/pps.h b/include/linux/pps.h
> index e40ac70..d701c32 100644
> --- a/include/linux/pps.h
> +++ b/include/linux/pps.h
> @@ -149,7 +149,7 @@ struct pps_netlink_msg {
> #define pps_dbg(format, arg...) printk(KERN_DEBUG "%s: " format "\n" , \
> KBUILD_MODNAME , ## arg)
> #else
> -#define dbg(format, arg...) do {} while (0)
> +#define pps_dbg(format, arg...) do {} while (0)
> #endif
>
> #define pps_err(format, arg...) printk(KERN_ERR "%s: " format "\n" , \
>
> Rodolfo
>
That worked. Thanks for the quick response.
My results with ntpd running just long enough to get a reach of 377. Using the
master branch from your tree.
remote refid st t when poll reach delay offset jitter
==============================================================================
127.127.1.0 .LOCL. 10 l 18 64 377 0.000 0.000 0.008
*127.127.20.0 .GPS. 0 l 14 64 377 0.000 5.700 11.165
+192.231.203.132 150.101.120.5 3 u 13 64 377 27.674 2.195 19.151
+130.102.2.123 130.102.152.7 2 u 16 64 377 81.144 3.787 19.146
-202.181.31.242 203.26.24.6 3 u 14 64 377 70.223 -40.216 17.738
+202.125.40.143 128.250.36.2 2 u 14 64 357 68.229 1.274 17.813
+124.148.3.103 203.36.227.2 2 u 12 64 177 56.245 1.088 18.593
--
James
More information about the LinuxPPS
mailing list