2002-10-04 06:40:19

by Corporal Pisang

[permalink] [raw]
Subject: new compile error on 2.5.40-ac2

Hi,

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-



2002-10-04 12:25:10

by Alan Cox

[permalink] [raw]
Subject: Re: new compile error on 2.5.40-ac2

On Fri, 2002-10-04 at 07:45, Corporal Pisang wrote:
> Hi,
>
> I think I've never had this error on any of the 2.5.* series.

Thanks you you send me your .config too