OpenWrt Forum Archive

Topic: r5995 scripts/mod/mk_elfconfig.c:11: warning: unused variable 'ei'

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

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]$

Please use the ticket system instead of the forum for bug reports. Changes are higer developers reading it...

(Last edited by forum2006 on 5 Jan 2007, 19:49)

working on it..

forum2006 wrote:

Please use the ticket system instead of the forum for bug reports. Changes are higer developers reading it...

I did post it to dev.

Cheers my boy

The discussion might have continued from here.