LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 721|回复: 2

FC4安装网卡驱动出错!跪求高手帮忙!

[复制链接]
发表于 2007-4-18 15:44:16 | 显示全部楼层 |阅读模式
我按readme中的说明一步步的操作下来就出现这样的错误。请高手指点一下!我是新手!
[root@localhost redhat]# rpmbuild -bb SPECS/tg3.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.42124
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf tg3-3.71b
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/tg3-3.71b.tar.bz2
+ tar -xvvf -
drwxr-xr-x root/root         0 2006-12-16 09:19:48 tg3-3.71b/
-rw-r--r-- root/root    360330 2006-12-16 09:19:48 tg3-3.71b/tg3.c
-rw-r--r-- root/root     97560 2006-12-16 09:19:48 tg3-3.71b/tg3.h
-rw-r--r-- root/root      3440 2006-12-16 09:19:48 tg3-3.71b/tg3.4
-rw-r--r-- root/root     15153 2006-12-16 09:19:48 tg3-3.71b/LICENSE
-rw-r--r-- root/root     10323 2006-12-16 09:19:48 tg3-3.71b/README.TXT
-rw-r--r-- root/root    114255 2006-12-16 09:19:48 tg3-3.71b/ChangeLog
-rw-r--r-- root/root      2714 2006-12-16 09:19:48 tg3-3.71b/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tg3-3.71b
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.42124
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd tg3-3.71b
+ LANG=C
+ export LANG
+ unset DISPLAY
+ value=
+ '[' -z '' ']'
++ uname -r
+ KVER=2.6.11-1.1369_FC4
+ make KVER=2.6.11-1.1369_FC4
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/usr/src/redhat/BUILD/tg3-3.71b modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
  CC [M]  /usr/src/redhat/BUILD/tg3-3.71b/tg3.o
In file included from /usr/src/redhat/BUILD/tg3-3.71b/tg3.c:85:
/usr/src/redhat/BUILD/tg3-3.71b/tg3.h:378: error: conflicting types for 'skb_header_cloned'
include/linux/skbuff.h:398: error: previous definition of 'skb_header_cloned' was here
make[2]: *** [/usr/src/redhat/BUILD/tg3-3.71b/tg3.o] Error 1
make[1]: *** [_module_/usr/src/redhat/BUILD/tg3-3.71b] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.42124 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.42124 (%build)
[root@localhost redhat]#
 楼主| 发表于 2007-4-18 19:56:33 | 显示全部楼层
没人知道吗?
自己 先顶一下 !!!
请高手帮忙
谢谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-19 09:59:08 | 显示全部楼层
没人理我吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表