其他分享
首页 > 其他分享> > /lib/modules/3.10.0-1160.el7.x86_64/build: No such file or directory. Stop.

/lib/modules/3.10.0-1160.el7.x86_64/build: No such file or directory. Stop.

作者:互联网

centos报这个错误是因为没有安装内核开发包,运行如下命令安装

yum install kernel-devel

如果还有报错,把名字指定一下

cd /lib/modules/3.10.0-1127.el7.x86_64/
rm -f build
ln -s /usr/src/kernels/3.10.0-1160.59.1.el7.x86_64/ build

标签:1160,x86,lib,3.10,64,build,el7
来源: https://www.cnblogs.com/studywithallofyou/p/16528321.html