2003-01-08 12:14:14

by Andrew Walrond

[permalink] [raw]
Subject: BUILD PROBLEM - Linux 2.5 BK - smpboot.c

I'm seeing this error:

gcc -Wp,-MD,arch/i386/kernel/.smpboot.o.d -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium4
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
-iwithprefix include -DKBUILD_BASENAME=smpboot
-DKBUILD_MODNAME=smpboot -c -o arch/i386/kernel/smpboot.o
arch/i386/kernel/smpboot.c
make -f scripts/Makefile.build obj=fs
make -f scripts/Makefile.build obj=fs/autofs4
arch/i386/kernel/smpboot.c:55:26:make -f scripts/Makefile.build obj=fs/devfs
mach_wakecpu.h: No such file or directory
make -f scripts/Makefile.build obj=fs/devpts
make -f scripts/Makefile.build obj=fs/exportfs
make -f scripts/Makefile.build obj=fs/lockd
arch/i386/kernel/smpboot.c: In function `smp_callin':
arch/i386/kernel/smpboot.c:351: warning: implicit declaration of
function `wait_for_init_deassert'arch/i386/kernel/smpboot.c:400:
warning: implicit declaration of function `smp_callin_clear_local_apic'
make -f scripts/Makefile.build obj=fs/nfs
arch/i386/kernel/smpboot.c: In function `do_boot_cpu':
arch/i386/kernel/smpboot.c:826: warning: implicit declaration of
function `store_NMI_vector'
arch/i386/kernel/smpboot.c:831: `TRAMPOLINE_HIGH' undeclared (first use
in this function)
arch/i386/kernel/smpboot.c:831: (Each undeclared identifier is reported
only once
arch/i386/kernel/smpboot.c:831: for each function it appears in.)
arch/i386/kernel/smpboot.c:833: `TRAMPOLINE_LOW' undeclared (first use
in this function)
arch/i386/kernel/smpboot.c:839: warning: implicit declaration of
function `wakeup_secondary_cpu'
arch/i386/kernel/smpboot.c:873: warning: implicit declaration of
function `inquire_remote_apic'
arch/i386/kernel/smpboot.c: In function `smp_boot_cpus':
arch/i386/kernel/smpboot.c:1048: `boot_cpu_apicid' undeclared (first use
in this function)
make -f scripts/Makefile.build obj=fs/nfsd
make -f scripts/Makefile.build obj=fs/partitions
make -f scripts/Makefile.build obj=fs/proc
make[1]: *** [arch/i386/kernel/smpboot.o] Error 1
make: *** [arch/i386/kernel] Error 2
make: *** Waiting for unfinished jobs....


2003-01-08 16:21:29

by Sam Ravnborg

[permalink] [raw]
Subject: Re: BUILD PROBLEM - Linux 2.5 BK - smpboot.c

On Wed, Jan 08, 2003 at 12:21:52PM +0000, Andrew Walrond wrote:
> I'm seeing this error:
>
> gcc -Wp,-MD,arch/i386/kernel/.smpboot.o.d -D__KERNEL__ -Iinclude
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium4
> -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=smpboot
> -DKBUILD_MODNAME=smpboot -c -o arch/i386/kernel/smpboot.o
> arch/i386/kernel/smpboot.c
> arch/i386/kernel/smpboot.c:55:26:make -f scripts/Makefile.build obj=fs/devfs
> mach_wakecpu.h: No such file or directory

In BK recent mach_acpi is included on line 55.
Sure you have a clean tree?

Sam

2003-01-08 17:22:54

by Andrew Walrond

[permalink] [raw]
Subject: Re: BUILD PROBLEM - Linux 2.5 BK - smpboot.c


Sam Ravnborg wrote:
> In BK recent mach_acpi is included on line 55.
> Sure you have a clean tree?
>
> Sam
>

Please disregard. My Stupidity alarm has just gone off, along with the
Newbie BK user detector :(