免费注册 查看新帖 |

Chinaunix

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

[网络管理] make: *** [e1000_main.o] Error 1 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-13 15:20 |只看该作者 |倒序浏览
cd e1000-4.3.15
[root@serverlei008 e1000-4.3.15]# cd src/
[root@serverlei008 src]# make
gcc -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/2.4.21-37.ELsmp/build/include -I. -DMODVERSIONS -DEXPORT_SYMTAB -include /lib/modules/2.4.21-37.ELsmp/build/include/linux/modversions.h  -D__SMP__ -DIANS -DIANS_BASE_ADAPTER_TEAMING -DIANS_BASE_VLAN_TAGGING -DIANS_BASE_VLAN_ID -DIDIAG   -c -o e1000_main.o e1000_main.c
In file included from e1000_hw.h:36,
                 from e1000.h:86,
                 from e1000_main.c:33:
e1000_osdep.h:59: syntax error before numeric constant
In file included from e1000_hw.h:36,
                 from e1000.h:86,
                 from e1000_main.c:33:
e1000_osdep.h:63:1: warning: "ASSERT" redefined
In file included from /lib/modules/2.4.21-37.ELsmp/build/include/net/sock.h:95,
                 from /lib/modules/2.4.21-37.ELsmp/build/include/linux/udp.h:21,
                 from e1000.h:65,
                 from e1000_main.c:33:
/lib/modules/2.4.21-37.ELsmp/build/include/net/irda/irda.h:80:1: warning: this is the location of the previous definition
make: *** [e1000_main.o] Error 1

论坛徽章:
0
2 [报告]
发表于 2007-01-13 15:27 |只看该作者
今天买了,一快intel的千兆网卡,内核编译环境也都有了,可不知道为什么,make后会出错!请教各位位大虾了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP