Today, I got a evaluation board that contains TI OMAP 5912. This is the first time that I do some work with a MCU of TI, I really excited.. 8)
Because details of project is not defined yet, I try to build Linux-2.6.8-rc3 kernel image that is downloaded from http://linux.omap.com by toolchain which is also downloaded from there.
When I execute configuration command - make CROSS_COMPILE=arm-linux- osk_omap_5612_defconfig, make program returns the following error messages. :-(
scripts/kconfig/mconf.c:94: error: static declaration of 'current_menu' follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
I have not seen these error message building Linux-2.6.x kernel, so I am a little frustrated.
But, Errors are really simple. I fix it.
I just get rid of 'static' keyword from 'static struct menu *current_ment' line in scripts/kconfig/mconf.c
After fixing, just work and I can build kernel image.. 8)