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,
Quoted 4 lines · On Thu, Jun 14, 2018 at 1:03 PM, <[email protected]> wrote:
Cloned most recent u-boot 2018.06.14
make clean works
make menuconfig fails:
Quoted 8 lines
/bin/sh: 1: bison: not foundscripts/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 2I'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.
Quoted 6 lines
Will try rebuild based on u-boot from 2018.05.14 on SPDX errors, That version did build.
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
[U-Boot] make config Error
In reply to DH at synoia.comQuoted 1 line · On Fri, Jun 15, 2018 at 10:56 AM, <[email protected]> wrote:
installed bison++
I just "sudo apt-get install flex bison" and it worked great.
Quoted 23 lines
Cloned most recent u-boot 2018.06.14
make clean works
make menuconfig fails:
makerpi_3_32b_configfails:YACC
scripts/kconfig/zconf.tab.cscripts/kconfig/zconf.y:44parser name defined to default :"parse" "scripts/kconfig/zconf.y", line 97: junk after `%%' in definition section Segmentation faultscripts/Makefile.lib:228: recipe for target 'scripts/kconfig/zconf.tab.c' failed make[1]: *** [scripts/kconfig/zconf.tab.c] Error 139This works on the u-boot version from one month ago.
Suggestions welcome.
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
[U-Boot] Fw: make config Error
In reply to a message not in the archive From: Joe Hershberger <[email protected]>
To: Duncan Hare <[email protected]>
Cc: Simon Glass <[email protected]>; Joe Hershberger <[email protected]>; u-boot <[email protected]>
Sent: Friday, June 15, 2018 12:54 PM
Subject: Re: [U-Boot] make config Error
Quoted 1 line · On Fri, Jun 15, 2018 at 10:56 AM, <[email protected]> wrote:
installed bison++
I just "sudo apt-get install flex bison" and it worked great.
Quoted 3 lines
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.cscripts/kconfig/zconf.y:44 parser name defined to default :"parse" <-------------------?
"scripts/kconfig/zconf.y", line 97: junk after `%%' in definition section Segmentation faultscripts/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
[U-Boot] Fw: make config Error
In reply to a message not in the archiveFrom: Karsten Merker <[email protected]>
To: Duncan Hare <[email protected]>
Cc: U-Boot Mailing List <[email protected]>
Sent: Monday, June 18, 2018 11:43 AM
Subject: Re: [U-Boot] Fw: make config Error
Quoted 5 lines
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.
This looks very much like either something in the repository setup on your Raspberry Pi is broken or the package mirror you use has problems. According to
http://archive.raspbian.org/raspbian/dists/stable/main/binary-armhf/Packages.xz
Raspbian/stable definitely has both flex as well as bison in the main repository:
Please refresh your local package information with "sudo apt-get update" and retry installing flex and bison. If that doesn't work, please provide your repository configuration, i.e. the contents of /etc/apt/sources.list and /etc/apt/sources.list.d/*, perhaps we can spot the source of your problem there. Good catch. Raspbian and Debian now fail in identical ways.Thanks
Regards,
Karsten
Werbung sowie der Markt- oder Meinungsforschung.
____________________________________________________________________________
Which is:
root at debian:/home/duncan/archive/u-boot# make clean
root at debian:/home/duncan/archive/u-boot# make menuconfig.......
duncan at debian:~/archive/u-boot$ make menuconfig
HOSTCC scripts/basic/fixdepscripts/basic/fixdep.c:481:1: fatal error: opening dependency file scripts/basic/.fixdep.d: Permission denied }
^
compilation terminated.scripts/Makefile.host:97: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 1
Makefile:410: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2
duncan at debian:~/archive/u-boot$ ^C
duncan at debian:~/archive/u-boot$
There is no .fixdep.d file in
pi at raspberrypi:~/server/archive/u-boot/scripts/basic $ ls -al total 44
drwxr-xr-x 2 root root 4096 Jun 15 13:17 .
drwxr-xr-x 6 root root 4096 Jun 15 08:39 ..
-rwxr-xr-x 1 root root 13992 Jun 15 13:14 fixdep
-rw-r--r-- 1 root root 12264 Jun 15 08:39 fixdep.c
-rw-r--r-- 1 root root 7 Jun 15 08:39 .gitignore
-rw-r--r-- 1 root root 706 Jun 15 08:39 Makefile
What content and what permissions does u-boot/scripts/basic/fixdep.d require?
Duncan Haredh at synoia.com