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

发布时间 2023-12-13 15:37:01作者: Doreen的FPGA自留地

在编译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 进行安装: