Linux Kernel Compile Error 1:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig make[1]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127 make: *** [Makefile:568: menuconfig] Error 2
Solution: Install the lexical parser flex, and the syntactic parser bison, respectively.
apt install flex
apt install bison
apt install flex
apt install bison
Linux Kernel Compile Error 2:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs Report an error: include/generated/timeconst.h' failed
Solution:
sudo apt-get install bc
Similar Posts:
- arm-linux-gnueabihf-g++: error trying to exec ‘cc1plus’: execvp: No such file or directory
- [Solved] Ubuntu 18.04 installation perf error: WARNING: perf not found for kernel 4.15.0-39
- Error in compiling APR util for Linux
- Python import random error handling method [Solved]
- linux mount: unknown filesystem type ‘exfat’
- [Solved] Ubuntu gnome 17.04 error: kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129
- [Solved] Archlinux Upgrade Warning: invalid or corrupted package (PGP signature)
- How to fix the “kernel driver not installed (RC = – 1908)” error of VirtualBox in Ubuntu
- Completely Uninstall Node.js from Mac OS X
- [Solved] NFS Failed to mount: Nothing Happened or “No such device” Error