You must install ‘flex’ on your build machine
解决:sudo apt-get install flex
You may have to install ‘g++’ on your build machine
解决:sudo apt-get install g++
You must install ‘makeinfo’ on your build machine
解决sudo apt-get install texinfo
./stdio.h:456:1: error: ‘gets’ undeclared here (not in a function)
_GL_WARN_ON_USE (gets, “gets is a security hole - use fgets instead”)
解决:https://www.cnblogs.com/zll123/p/6865900.html
“mkimage” command not found - U-Boot images will not be built
解决:sudo apt-get update
Sudo apt-get upgrade
sudo apt-get install uboot-mkimage
./scripts/build_rootfs.sh: line 19: fakeroot: command not found
解决:sudo apt-get install fakeroot
awk: line 2: function strtonum never defined
解决:sudo apt-get install gawk
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
解决:sudo apt-get install lib32stdc++6
sudo apt-get install libstdc++6