[U-Boot] Fw: make config Error

Duncan Hare dh at synoia.com
Mon Jun 18 14:18:55 UTC 2018



 From: Joe Hershberger <joe.hershberger at ni.com>
 To: Duncan Hare <DH at synoia.com> 
Cc: Simon Glass <sjg at chromium.org>; Joe Hershberger <joe.hershberger at ni.com>; u-boot <u-boot at lists.denx.de>
 Sent: Friday, June 15, 2018 12:54 PM
 Subject: Re: [U-Boot] make config Error
    
On Fri, Jun 15, 2018 at 10:56 AM,  <DH at synoia.com> 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 at 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

   

   


More information about the U-Boot mailing list