首页 > 系统相关 >linux 报错

linux 报错

时间:2022-12-16 11:35:43浏览次数:61  
标签:&& gcc install make linux 报错 libelf scripts

报Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel
yum install -y elfutils-libelf-devel



报make[1]: *** [scripts/kconfig/zconf.tab.c] 错误 127
yum install -y flex
出现/bin/sh: 1: bison: not found错误。
yum install -y bison


报Run 'make oldconfig && make prepare' on kernel src to fix it
make oldconfig && make prepare && make scripts

报scripts/Makefile.host:94: recipe for target ‘scripts/basic/fixdep’ failed

通过写两个命令
sudo apt-get install bison
sudo apt-get install flex

 

/bin/sh: gcc: 未找到命令

 yum -y install gcc automake autoconf libtool make

gcc --version

标签:&&,gcc,install,make,linux,报错,libelf,scripts
From: https://www.cnblogs.com/tonggc1668/p/16986892.html

相关文章