缺少linux内核,Linux内核源代码未配置-缺少>版本。h。当安装一个驱动程序

在尝试在Ubuntu 12.04 LTS上安装Intel e1000以太网卡驱动时,遇到编译错误,提示Linux内核源代码未配置,缺少version.h。按照README指示在Linux源代码树下创建version.h文件未成功。已安装的内核头文件为3.8.0版本。解决方案包括检查内核版本和编辑specfile,或安装build-essential然后重启电脑。
摘要由CSDN通过智能技术生成

I'm trying to install a intel e1000 ethernet card driver on ubuntu 12.04 LTS. When i type

我试着在ubuntu 12.04 LTS上安装一个英特尔e1000以太网卡驱动程序。当我类型

make install

制作安装

The following error occur:

出现以下错误:

Makefile:111: * Linux kernel source not configured - missing version.h. Stop.

Makefile:111: *未配置的Linux内核源代码——缺失的版本。停止。

in the README file thy say:

在自述文件中你说:

When trying to compile the driver by running make install, the following error may occur:

当尝试通过运行make install来编译驱动程序时,可能会出现以下错误:

"Linux kernel source not configured - missing version.h"

To solve this issue, create the version.h file by going to the Linux source tree and entering:

要解决这个问题,创建版本。h文件通过Linux源代码树进入:

make include/linux/version.h.

I try to run this command in the /usr/src/linux******* folder but no results

我尝试在/usr/src/linux**

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值