Skip to contentSkip to conversation

BUILD PROBLEM - Linux 2.5 BK - smpboot.c

DISCUSSION Andrew Walrond 2 participants 3 messages Jan 8, 2003

lore
Share & tools
lore
#0 lore raw

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....

#1 lore raw
Quoted 11 lines · Andrew Walrond

I'm seeing this error:

gcc -Wp,-MD,arch/i386/kernel/.smpboot.o.d -D__KERNEL__ -Iinclude

(quoted diff) +0 -5
-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

#2 lore raw
Quoted 5 lines · Sam Ravnborg

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 :(