[LinuxPPS] won't compile if PPS debugging messages is not defined

James Boddington boddingt at internode.on.net
Mon May 14 10:09:42 CEST 2007


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


And at the end of the build

   AS      arch/i386/lib/getuser.o
   AS      arch/i386/lib/putuser.o
   CC      arch/i386/lib/usercopy.o
   AR      arch/i386/lib/lib.a
   GEN     .version
   CHK     include/linux/compile.h
   UPD     include/linux/compile.h
   CC      init/version.o
   LD      init/built-in.o
   LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x2567e): In function `uart_unregister_pps_port':
: undefined reference to `pps_dbg'
drivers/built-in.o(.text+0x28c71): In function `check_modem_status':
: undefined reference to `pps_dbg'
drivers/built-in.o(.text+0x612ec): In function `pps_nl_data_ready':
: undefined reference to `pps_dbg'
drivers/built-in.o(.text+0x6131b): In function `pps_nl_data_ready':
: undefined reference to `pps_dbg'
drivers/built-in.o(.text+0x6134f): In function `pps_nl_data_ready':
: undefined reference to `pps_dbg'
drivers/built-in.o(.text+0x61382): more undefined references to `pps_dbg' follow
make: *** [.tmp_vmlinux1] Error 1



-- 
    James



More information about the LinuxPPS mailing list