如何正确编译最新的Intel驱动程序(4.1.2)?当我试图这样做时,我得到了以下错误:
*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软件包。有人能帮我解决这个问题吗?
我的规格:
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发布于 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
试试看:)
发布于 2013-06-15 15:31:49
也许你可以更新你的内核头。
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
https://serverfault.com/questions/496878
复制相似问题