[U-Boot] make Menuconfig Error

Cloned most recent u-boot 2018.06.14 make clean works make menuconfig fails:
/bin/sh: 1: bison: not found scripts/kconfig/Makefile:229: recipe for target 'scripts/kconfig/dochecklxdialog' failed make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1 Makefile:491: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2
I've checked for bison, visually and with apt-cache search but I have found none.
Will try rebuild based on u-boot from 2018.05.14 on SPDX errors, That version did build.

Hi Duncan,
On Thu, Jun 14, 2018 at 1:03 PM, DH@synoia.com wrote:
Cloned most recent u-boot 2018.06.14 make clean works make menuconfig fails:
/bin/sh: 1: bison: not found scripts/kconfig/Makefile:229: recipe for target 'scripts/kconfig/dochecklxdialog' failed make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1 Makefile:491: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2
I've checked for bison, visually and with apt-cache search but I have found none.
This was introduced with commit e91610da7c8a9fe42f3e5a75f06c3d1a0cb5f815 (kconfig: re-sync with Linux 4.17-rc4)
It seems that they made bison an external dependency instead of keeping the pre-compiled scripts/kconfig/zconf.tab.c_shipped and friends.
Will try rebuild based on u-boot from 2018.05.14 on SPDX errors, That version did build. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

On Fri, Jun 15, 2018 at 10:56 AM, DH@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
make clean works make menuconfig fails: make rpi_3_32b_config fails:
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
This works on the u-boot version from one month ago.
Suggestions welcome. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
participants (2)
-
DH@synoia.com
-
Joe Hershberger