差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
cpp:linux_kernel:build_driver:build_nic_on_centos6.7 [2016/10/12 13:59] tony [安裝kernel-headers與kernel-devel] |
cpp:linux_kernel:build_driver:build_nic_on_centos6.7 [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 45: | 行 45: | ||
/root/rpmbuild/RPMS/x84_64/ixgbevf-3.1.2-1.x86_64.rpm | /root/rpmbuild/RPMS/x84_64/ixgbevf-3.1.2-1.x86_64.rpm | ||
</code> | </code> | ||
+ | 如果安裝的系統與build出來的版本不合,是會有WARNING的。 | ||
===== 其它 ===== | ===== 其它 ===== | ||
一開始由於我是直接透過yum安裝kernel-headers與kernel-devel套件,在make過程中,一直出現implicit declaration error。起初懷疑和gcc版本有關,最後發現是由於yum安裝了更新版本的kernel-headers與kernel-devel。 | 一開始由於我是直接透過yum安裝kernel-headers與kernel-devel套件,在make過程中,一直出現implicit declaration error。起初懷疑和gcc版本有關,最後發現是由於yum安裝了更新版本的kernel-headers與kernel-devel。 | ||
+ | ===== Reference ===== | ||
+ | * [[http://jylin76.blogspot.tw/2011/02/cent-osintel-82566dm-2.html|Kernel header files not in any of the expected locations]] | ||
+ | |||
===== ===== | ===== ===== | ||
---- | ---- | ||
\\ | \\ | ||
~~DISQUS~~ | ~~DISQUS~~ |