在编译linux内核的时候执行make ARCH=arm socfpga_defconfig设置默认配置时报错bison flex not found 缺少文件:

/bin/sh: 1: bison: not found

 输入命令 sudo apt-get install bison 进行安装:

 

/bin/sh: 1: flex: not found

 

输入命令 sudo apt-get install flex 进行安装: