AnsweredAssumed Answered

make menuconfig

Question asked by TerryXu on Feb 6, 2012
Latest reply on Feb 7, 2012 by TerryXu

Hello

I have setup the toolcahin correctly, but i got the problem when i use the "make menuconfig" when i try to config the linux distribution.

I used the command "make clean" already.

 

root@eda-laptop:/tmp/blackfin-linux-dist# make menuconfig

find vendors -mindepth 2 '(' -name .svn -prune ')' -o -type f -name Kconfig -print | sed 's:^:source ../:' > vendors/Kconfig

config/mkconfig > Kconfig

CC=cc CXX=c++ make -C /tmp/blackfin-linux-dist/config/kconfig mconf

make[1]: Entering directory `/tmp/blackfin-linux-dist/config/kconfig'

cc -DCURSES_LOC="<curses.h>"   -c -o mconf.o mconf.c

In file included from mconf.c:27:

lxdialog/dialog.h:32:20: error: curses.h: No such file or directory

In file included from mconf.c:27:

lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’

lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token

lxdialog/dialog.h:193: error: expected ‘)’ before ‘*’ token

lxdialog/dialog.h:195: error: expected ‘)’ before ‘*’ token

lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token

lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token

lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token

lxdialog/dialog.h:200: error: expected ‘)’ before ‘*’ token

mconf.c: In function ‘conf’:

mconf.c:610: error: ‘KEY_MAX’ undeclared (first use in this function)

mconf.c:610: error: (Each undeclared identifier is reported only once

mconf.c:610: error: for each function it appears in.)

mconf.c: In function ‘conf_choice’:

mconf.c:761: error: ‘KEY_MAX’ undeclared (first use in this function)

make[1]: *** [mconf.o] Error 1

make[1]: Leaving directory `/tmp/blackfin-linux-dist/config/kconfig'

make: *** [/tmp/blackfin-linux-dist/config/kconfig/mconf] Error 2

root@eda-laptop:/tmp/blackfin-linux-dist#

Outcomes