Build on a fresh copy of SNV r5995 fails
# configuration written to .config
#
scripts/kconfig/conf -s arch/mips/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/mod/mk_elfconfig
scripts/mod/mk_elfconfig.c: In function 'main':
scripts/mod/mk_elfconfig.c:11: error: 'EI_NIDENT' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:11: error: (Each undeclared identifier is reported only once
scripts/mod/mk_elfconfig.c:11: error: for each function it appears in.)
scripts/mod/mk_elfconfig.c:21: error: 'ELFMAG' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:21: error: 'SELFMAG' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:25: error: 'EI_CLASS' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:26: error: 'ELFCLASS32' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:29: error: 'ELFCLASS64' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:35: error: 'EI_DATA' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:36: error: 'ELFDATA2LSB' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:39: error: 'ELFDATA2MSB' undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:11: warning: unused variable 'ei'
make[8]: *** [scripts/mod/mk_elfconfig] Error 1
make[7]: *** [scripts/mod] Error 2
make[6]: *** [scripts] Error 2
make[5]: *** [scripts] Error 2
make[5]: Leaving directory `/home/linksys/kamikaze/build_mipsel/linux-2.6-brcm/linux-2.6.19.1'
make[4]: *** [/home/linksys/kamikaze/build_mipsel/linux-2.6-brcm/linux-2.6.19.1/.configured] Error 2
make[4]: Leaving directory `/home/linksys/kamikaze/target/linux/brcm-2.6'
make[3]: *** [prepare] Error 2
make[3]: Leaving directory `/home/linksys/kamikaze/target/linux'
make[2]: *** [linux-prepare] Error 2
make[2]: Leaving directory `/home/linksys/kamikaze/target'
make[1]: *** [target/compile] Error 2
make[1]: Leaving directory `/home/linksys/kamikaze'
make: *** [world] Error 2
kamikaze]$