From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kumar Gala Date: Mon, 20 Apr 2009 11:25:19 -0500 Subject: [U-Boot] Kconfig support - menuconfig broken? In-Reply-To: <8C13C3AD-E74E-4BD6-BB8F-42B7062F1023@kernel.crashing.org> References: <20090418162530.GD1413@game.jcrosoft.org> <04E5C169-DA06-45C6-9502-4DD16CAF19D1@kernel.crashing.org> <20090420120239.GC19818@game.jcrosoft.org> <8C13C3AD-E74E-4BD6-BB8F-42B7062F1023@kernel.crashing.org> Message-ID: <30CEB744-808B-4E96-9809-6036696CEBF8@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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="" -DLOCALE -I/ > local/home/galak/git/u-boot-85xx/scripts/kconfig -lncursesw -I/usr/ > include/ncurses -DCURSES_LOC="" -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