Re: [PATCH] CONFIG_SMP available for 2.1.125

Eastep, Tom (eastep@loc1.tandem.com)
Sun, 18 Oct 1998 11:16:42 -0700


Michael,

Michael Elizabeth Chastain wrote:

[ snip ]

> *.c *.S as legacy symbols, so the patch footprint is much smaller. Also,
> now you can switch between SMP and non-SMP without doing a 'make clean'.

I applied your patch to 2.1.126-2 -- it applied ok except for one file in
arch/alpha (my systems are all X86).

I then ran 'make xconfig', selected CONFIG_SMP and built -- this went ok.

I then re-ran xconfig and selected a UP build; this resulted in the following
errors:

lib/lib.a /usr/src/linux-2.1.126mon/arch/i386/lib/lib.a \
-o vmlinux
init/main.o: In function `init':
init/main.o(.text+0x89): undefined reference to `kernel_flag'
init/main.o(.text+0xab): undefined reference to `kernel_flag'
init/main.o: In function `check_cx686_cpuid_slop':
init/main.o(.text.init+0x2ed): undefined reference to `__global_cli'
init/main.o(.text.init+0x348): undefined reference to `__global_sti'
init/main.o: In function `smp_init':
init/main.o(.text.init+0x8e9): undefined reference to `smp_boot_cpus'
init/main.o(.text.init+0x8ef): undefined reference to `smp_threads_ready'
init/main.o(.text.init+0x8f8): undefined reference to `smp_commence'
init/main.o: In function `start_kernel':
init/main.o(.text.init+0x910): undefined reference to `initialize_secondary'
init/main.o(.text.init+0xa0b): undefined reference to `__global_sti'
init/main.o(.text.init+0xa9b): undefined reference to `cpu_idle'
init/main.o(.data.init+0xc0): undefined reference to `smp_setup'
init/main.o(.data.init+0xc8): undefined reference to `smp_setup'
init/main.o(.data.init+0xd0): undefined reference to `ioapic_pirq_setup'
init/main.o(.text.lock+0x2): undefined reference to `kernel_flag'
make: *** [vmlinux] Error 1

I next did "make clean ; make bzImage" which worked ok...

Tom

-- 
Tom Eastep	
COMPAQ Computer Corporation
Enterprise Computing Group
Tandem Division
tom.eastep@compaq.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/