首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >带有止回阀的Intel igb驱动程序构建

问带有止回阀的Intel igb驱动程序构建
EN

Server Fault用户
提问于 2013-04-06 19:21:38
回答 2查看 1.7K关注 0票数 0

如何正确编译最新的Intel驱动程序(4.1.2)?当我试图这样做时,我得到了以下错误:

代码语言:javascript
复制
*checkinstall -D
root@debian:~/igb-4.1.2/src# ========================= Installation results ===========================
-bash: =========================: command not found
root@debian:~/igb-4.1.2/src# make -C /lib/modules/3.2.0-4-amd64/build SUBDIRS=/root/igb-4.1.2/src modules
  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.
  CC [M]  /root/igb-4.1.2/src/igb_main.o
In file included from <command-line>:0:0:
/usr/src/linux-headers-3.2.0-4-common/include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory
compilation terminated.
make[4]: *** [/root/igb-4.1.2/src/igb_main.o] Error 1
make[3]: *** [_module_/root/igb-4.1.2/src] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
make: *** [default] Error 2
****  Installation failed. Aborting package creation.
Cleaning up...OK*

那是什么??“让安装”工作正常,但我需要它在.deb软件包。有人能帮我解决这个问题吗?

我的规格:

代码语言:javascript
复制
uname -r
3.2.0-4-amd64


lsb_release -a
Distributor ID: Debian
Description:    Debian GNU/Linux 7.0 (wheezy)
Release:        7.0
Codename:       wheezy
EN

回答 2

Server Fault用户

发布于 2021-05-06 09:24:44

你可能有塞满版本的查金斯托尔。我也直接从官方的git存储库克隆了buggy版本: git克隆http://checkinstall.izto.org/checkinstall.git这个版本似乎以其他/奇怪/方式处理linux头的Makefile (看起来,它试图编译整个内核)。

如果我使用了ubuntu存储库中的checkinstall版本,一切都进行得很好. http://launchpadlibrarian.net/133950593/checkinstall_1.6.2-4ubuntu1_amd64.deb

试试看:)

票数 1
EN

Server Fault用户

发布于 2013-06-15 15:31:49

也许你可以更新你的内核头。

代码语言:javascript
复制
sudo apt-get install linux-headers-3.2.0-4-amd64

参考文献:http://pkgs.org/debian-wheezy/debian-main-amd64/linux-headers-3.2.0-4-amd64_3.2.41-2_amd64.deb.html

票数 -1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/496878

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档