[U-Boot] Kconfig support - menuconfig broken?

Kumar Gala galak at kernel.crashing.org
Mon Apr 20 18:25:19 CEST 2009


On Apr 20, 2009, at 10:26 AM, Kumar Gala wrote:

> When I try to do a make menuconfig I get:
>
> [galak at blarg u-boot-85xx]$ make menuconfig
> make -C scripts/kconfig menuconfig
> make[1]: Entering directory `/local/home/galak/git/u-boot-85xx/ 
> scripts/
> kconfig'
> gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/
> local/home/galak/git/u-boot-85xx/scripts/kconfig -lncursesw -I/usr/
> include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/local/home/
> galak/git/u-boot-85xx/scripts/kconfig -O -c -o zconf.tab.o zconf.tab.c
> zconf.tab.c:166:24: error: zconf.hash.c: No such file or directory
> zconf.tab.c: In function 'zconfparse':
> zconf.tab.c:1660: error: 'kconf_id_strings' undeclared (first use in
> this function)
> zconf.tab.c:1660: error: (Each undeclared identifier is reported only
> once
> zconf.tab.c:1660: error: for each function it appears in.)
> zconf.tab.c:1768: warning: initialization makes pointer from integer
> without a cast
> zconf.tab.c: In function 'zconf_endtoken':
> zconf.tab.c:2305: error: 'kconf_id_strings' undeclared (first use in
> this function)
> zconf.tab.c:2484:23: error: lex.zconf.c: No such file or directory
> In file included from zconf.tab.c:2486:
> confdata.c: In function 'conf_get_default_confname':
> confdata.c:73: error: 'PATH_MAX' undeclared (first use in this  
> function)
> confdata.c: In function 'conf_split_config':
> confdata.c:636: error: 'errno' undeclared (first use in this function)
> confdata.c:636: error: 'ENOENT' undeclared (first use in this  
> function)
> make[1]: *** [zconf.tab.o] Error 1
> make[1]: Leaving directory `/local/home/galak/git/u-boot-85xx/scripts/
> kconfig'
> make: *** [menuconfig] Error 2

The problem is we aren't generating lex.zconf.c or zconf.hash.c.   
Seems like your makefile doesn't have the rules to generate these files.

Also:

make: -E: Command not found

is from HOSTCC not being defined.

- k





More information about the U-Boot mailing list