[uClibc] Menuconfig error

Manuel Novoa III mjn3 at codepoet.org
Wed Aug 11 15:14:11 UTC 2004


On Wed, Aug 11, 2004 at 06:22:34PM -0700, Sadiq Shaikh wrote:
> Today i checkout code from CVS (uclibc.org), while executing make
> menuconfig,
> i'm getting following error.Any idea what causing this ?
> 
> ----------8<------------8<--------------8<--------------
> make menuconfig
> make -C extra/config ncurses mconf
> make[1]: Entering directory `/home/sadiq/uClibc/extra/config'
> cp zconf.tab.h_shipped zconf.tab.h
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> mconf.c -o mconf.o
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> checklist.c -o checklist.o
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> menubox.c -o menubox.o
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> textbox.c -o textbox.o
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> yesno.c -o yesno.o
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> inputbox.c -o inputbox.o
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> util.c -o util.o
> gcc -O2 -Wall -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c
> msgbox.c -o msgbox.o
> cp zconf.tab.c_shipped zconf.tab.c
> cp lex.zconf.c_shipped lex.zconf.c
> gcc -O2 -Wall -I. -c zconf.tab.c -o zconf.tab.o
> gcc  mconf.o checklist.o menubox.o textbox.o yesno.o inputbox.o util.o
> msgbox.o zconf.tab.o -o mconf -lncurses
> make[1]: Leaving directory `/home/sadiq/uClibc/extra/config'
> rm -f -r include/bits
> install -d include/bits
> extra/Configs/Config.arm:30: missing 'endchoice' for this 'choice' statement
> extra/Configs/Config.arm:30: missing 'endif' for this 'if' statement
> extra/Configs/Config.arm:41: syntax error, unexpected T_WORD
> extra/Configs/Config.arm:43: invalid menu option
> extra/Configs/Config.arm:43: syntax error, unexpected T_WORD
> extra/Configs/Config.arm:44: invalid menu option
... <more of the same> ...

Odd.  I've only seen those types of errors when there were stale files
in extra/config, which doesn't appear to be the case based.  But it is
working fine here, so... try a "make distclean" and see if that helps.

Manuel



More information about the uClibc mailing list