I think I've never had this error on any of the 2.5.* series.
gcc -Wp,-MD,./.timer_pit.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -I/usr/src/linux/arch/i386/mach-generic -nostdinc
-iwithprefix include -DKBUILD_BASENAME=timer_pit -c -o timer_pit.o
timer_pit.c
In file included from timer_pit.c:27:
/usr/src/linux/arch/i386/mach-generic/do_timer.h: In function
`do_timer_interrupt_hook':
/usr/src/linux/arch/i386/mach-generic/do_timer.h:26: `using_apic_timer'
undeclared (first use in this function)
/usr/src/linux/arch/i386/mach-generic/do_timer.h:26: (Each undeclared
identifier is reported only once
/usr/src/linux/arch/i386/mach-generic/do_timer.h:26: for each function it
appears in.)
/usr/src/linux/arch/i386/mach-generic/do_timer.h:27: warning: implicit
declaration of function `smp_local_timer_interrupt'
make[1]: *** [timer_pit.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
make: *** [arch/i386/kernel] Error 2
Regards
-Ubaida-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/