首页 > 系统服务 > 详细

Linux下安装网卡执行make install失败

时间:2016-04-14 13:57:53      阅读:7143      评论:0      收藏:0      [点我收藏+]

先安装的SuSE12系统,没有网卡驱动,试着自己安装

在网上下载了tar安装包,加压后执行make编译,出现如下错误:

[/usr/src/e1000e-1.9.5/src]# make
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again。 停止。
[/usr/src/e1000e-1.9.5/src]# make install
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again。 停止。

 

从错误信息来看是没装kernel header files,在网上搜到了如下解决方法:

将之前的系统安装盘放入光驱,终端执行此命令zypper in kernel-source,安装ok~


 

Linux下安装网卡执行make install失败

原文:http://www.cnblogs.com/janik/p/5390489.html

(2)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!