[uClibc] Menuconfig error

Sadiq Shaikh sadiq.shaikh at analog.com
Thu Aug 12 06:25:23 UTC 2004


Hi,

I tried "make distclean" but still error persist.The problem seems
to be odd and difficult to fix since i'm not good with uClibc build
procedure.
Hmm..ok let me talk briefly what am i doing..

---------8<---------8<------8<-----------
Download:
#cvs -d:pserver:anonymous at uclibc.org:/var/cvs login
#cvs -d:pserver:anonymous at uclibc.org:/var/cvs co -P uClibc

Build:
#cd /home/sadiq/KERNEL/linux/uClibc
#export TARGET_ARCH=mips
#export NATIVE_CC=gcc
#export CROSS=mips-linux-
#export KERNEL_SOURCE=/home/sadiq/KERNEL/linux
#export PREFIX=/home/sadiq/KERNEL/linux/toolchain
#export PATH=$PREFIX/bin:$PATH
# make menuconfig
---------8<---------8<------8<-----------

Did i missed anything in build procedure ? it will be a great help
if i get to know the correct build procedure as well as cause of
"make menuconfig" error i'm getting on console.

Regards & Thanks,
-sadiq.

-----Original Message-----
From: Manuel Novoa III [mailto:mjn3 at codepoet.org]
Sent: Wednesday, August 11, 2004 8:14 AM
To: Sadiq Shaikh
Cc: uClibc at uclibc.org
Subject: Re: [uClibc] Menuconfig error


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