免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2512 | 回复: 0
打印 上一主题 下一主题

編譯e1000e-3.2.4.2出錯 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-08-06 11:27 |只看该作者 |倒序浏览
因在使用symantec AltirisDS6.9 SP5 中的Linux啟動環境,對應的驅動必須要符合對應的內核版本2.6.27.7與gcc-4.1 g++-4.1
但總是出現以下錯誤,怎麼解決?或幫忙編譯出符合(內核版本2.6.27.7與gcc-4.1 g++-4.1版本)的e1000e.ko?謝謝

-------------------------------------------------------------------------------
root@User1-desktop:/home/User1/Document/e1000e-3.2.4.2/src# make -C /home/User1/Document/linux-2.6.27.7 SUBDIRS=$PWD modules
make: Entering directory `/home/User1/Document/linux-2.6.27.7'
[: 1: 1540: unexpected operator
    CC [M]  /home/User1/Document/e1000e-3.2.4.2/src/netdev.o
In file included from /home/User1/Document/e1000e-3.2.4.2/src/e1000.h:33,
                         from /home/User1/Document/e1000e-3.2.4.2/src/netdev.c:49:
/home/User1/Document/e1000e-3.2.4.2/src/kcompat.h: In function ‘__kc_napi_alloc_skb’:
/home/User1/Document/e1000e-3.2.4.2/src/kcompat.h:4494: error: ‘struct napi_struct’ has no member named ‘dev’
make[1]: *** [/home/User1/Document/e1000e-3.2.4.2/src/netdev.o] Error 1
make: *** [_module_/home/User1/Document/e1000e-3.2.4.2/src] Error 2
make: Leaving directory `/home/User1/Document/linux-2.6.27.7'
--------------------------------------------

e1000e-3.2.4.2 源碼下載 (沒權限發URL)
downloadcenter.intel.com/zh-cn/download/15817

內核下載:linux-2.6.27.7 (kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.7.tar.gz)
gcc version: 4.1
g++ version: 4.1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP