error when building 32-bit linux kernel on 64-bit linux host

view story

http://stackoverflow.com – I am trying to build 32-bit linux kernel 2.6.9 on a 64-bit linux host with 2.6.9 (same version). Did some google search and tried the following: step 1) make ARCH=i386 CFLAGS=-m32 menuconfig step 2) make ARCH=i386 CFLAGS=-m32 Step 1 was okay. But step 2 got the following errors. What did I do wrong? make ARCH=i386 CFLAGS=-m32 < snip > In file included from include/asm/smp.h:18, from include/linux/smp.h:17, from include/linux/sched.h:23, from arch/i386/kernel/asm-offsets.c:7: include/asm/mpspec.h:6:25: mach_mpspec.h: No such fil (HowTos)