2002-10-28 15:27:42

by Stephane Wirtel

[permalink] [raw]
Subject: Compile Error with the 2.5.44-ac5 and the P4

here is an error.

make -f arch/i386/kernel/Makefile
make -f arch/i386/kernel/cpu/Makefile
make -f arch/i386/kernel/cpu/cpufreq/Makefile
make -f arch/i386/kernel/cpu/mcheck/Makefile
gcc -Wp,-MD,arch/i386/kernel/cpu/mcheck/.p4.o.d -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -p
-Iarch/i386/mach-voyager -nostdinc -iwithprefix include
-DKBUILD_BASENAME=p4 -c -o arch/i386/kernel/cpu/mcheck/p4.o
arch/i386/kernel/cpu/mcheck/p4.c
arch/i386/kernel/cpu/mcheck/p4.c: In function `intel_thermal_interrupt':
arch/i386/kernel/cpu/mcheck/p4.c:51: warning: implicit declaration of function `ack_APIC_irq'
arch/i386/kernel/cpu/mcheck/p4.c: In function `intel_init_thermal':
arch/i386/kernel/cpu/mcheck/p4.c:91: warning: implicit declaration of function `apic_read'
arch/i386/kernel/cpu/mcheck/p4.c:105: `THERMAL_APIC_VECTOR' undeclared (first use in this function)
arch/i386/kernel/cpu/mcheck/p4.c:105: (Each undeclared identifier is reported only once
arch/i386/kernel/cpu/mcheck/p4.c:105: for each function it appears in.)
arch/i386/kernel/cpu/mcheck/p4.c:107: warning: implicit declaration of function `apic_write_around'
make[3]: *** [arch/i386/kernel/cpu/mcheck/p4.o] Error 1
make[2]: *** [arch/i386/kernel/cpu/mcheck] Error 2
make[1]: *** [arch/i386/kernel/cpu] Error 2
make: *** [arch/i386/kernel] Error 2


Best regards,


Stephane Wirtel

--
Stephane Wirtel <[email protected]>
GPG ID : 1024D/C9C16DA7 | 5331 0B5B 21F0 0363 EACD B73E 3D11 E5BC C9C1 6DA7


2002-10-28 15:49:54

by Dave Jones

[permalink] [raw]
Subject: Re: Compile Error with the 2.5.44-ac5 and the P4

On Mon, Oct 28, 2002 at 04:32:37PM +0100, Stephane Wirtel wrote:
> here is an error.
>
> make -f arch/i386/kernel/Makefile
> make -f arch/i386/kernel/cpu/Makefile
> make -f arch/i386/kernel/cpu/cpufreq/Makefile
> make -f arch/i386/kernel/cpu/mcheck/Makefile
> gcc -Wp,-MD,arch/i386/kernel/cpu/mcheck/.p4.o.d -D__KERNEL__ -Iinclude
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -p
> -Iarch/i386/mach-voyager -nostdinc -iwithprefix include
> -DKBUILD_BASENAME=p4 -c -o arch/i386/kernel/cpu/mcheck/p4.o
> arch/i386/kernel/cpu/mcheck/p4.c
> arch/i386/kernel/cpu/mcheck/p4.c: In function `intel_thermal_interrupt':
> arch/i386/kernel/cpu/mcheck/p4.c:51: warning: implicit declaration of function `ack_APIC_irq'
> arch/i386/kernel/cpu/mcheck/p4.c: In function `intel_init_thermal':
> arch/i386/kernel/cpu/mcheck/p4.c:91: warning: implicit declaration of function `apic_read'
> arch/i386/kernel/cpu/mcheck/p4.c:105: `THERMAL_APIC_VECTOR' undeclared (first use in this function)
> arch/i386/kernel/cpu/mcheck/p4.c:105: (Each undeclared identifier is reported only once
> arch/i386/kernel/cpu/mcheck/p4.c:105: for each function it appears in.)
> arch/i386/kernel/cpu/mcheck/p4.c:107: warning: implicit declaration of function `apic_write_around'
> make[3]: *** [arch/i386/kernel/cpu/mcheck/p4.o] Error 1
> make[2]: *** [arch/i386/kernel/cpu/mcheck] Error 2
> make[1]: *** [arch/i386/kernel/cpu] Error 2
> make: *** [arch/i386/kernel] Error 2

mail me (offlist) your .config, and I'll take a look.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk