From mboxrd@z Thu Jan 1 00:00:00 1970 From: Duncan Hare Date: Mon, 18 Jun 2018 14:18:55 +0000 (UTC) Subject: [U-Boot] Fw: make config Error In-Reply-To: <1475463586.405677.1529094357509@mail.yahoo.com> References: <20180614110334.38d0fda8@raspberrypi> <1475463586.405677.1529094357509@mail.yahoo.com> Message-ID: <1456892912.1186240.1529331535965@mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de From: Joe Hershberger To: Duncan Hare Cc: Simon Glass ; Joe Hershberger ; u-boot Sent: Friday, June 15, 2018 12:54 PM Subject: Re: [U-Boot] make config Error On Fri, Jun 15, 2018 at 10:56 AM,  wrote: > installed bison++ I just "sudo apt-get install flex bison" and it worked great. > > Cloned most recent u-boot 2018.06.14 > ___________________________________________________________________________________ Not so much for me: Debian, with flex ncurses5-dev and bison++ root at debian:/home/duncan/archive/u-boot# make clean root at debian:/home/duncan/archive/u-boot# make menuconfig   HOSTCC  scripts/basic/fixdep   HOSTCC  scripts/kconfig/mconf.o   YACC    scripts/kconfig/zconf.tab.c scripts/kconfig/zconf.y:44 parser name defined to default :"parse" <-------------------? "scripts/kconfig/zconf.y", line 97: junk after `%%' in definition section Segmentation fault scripts/Makefile.lib:228: recipe for target 'scripts/kconfig/zconf.tab.c' failed make[1]: *** [scripts/kconfig/zconf.tab.c] Error 139 Makefile:491: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2 root at debian:/home/duncan/archive/u-boot# ^C root at debian:/home/duncan/archive/u-boot# Raspbian no flex :-( pi@raspberrypi:~/server/archive/u-boot $ sudo apt install flex Reading package lists... Done Building dependency tree       Reading state information... Done Package flex is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'flex' has no installation candidate In this repository. It might exist elsewhere. I generally use raspbian to compile u-boot for the raspberry pi, and Debian as a file server. The 06.15.2018 version works. Instead of installing bits and pieces of the toolchain, how about reverting to the previous  version? Is there link to updated documentation for pre-regs? Duncan Hare 714 931 7952