当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 新手请教。。pro/1000 pm驱动安装操作
帖子发表于 : 2006-05-09 4:25 

注册: 2006-05-09 4:07
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
我从sourceforge下了e1000-7.0.38,解开后在src下运行
make install
出现以下信息

引用:
pan@ubuntu-pan:~/e1000-7.0.38/src$ make install
make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/home/pan/e1000-7.0.38/src modules
/usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found
/usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 12: gcc-3.4: command not found
make[1]: gcc-3.4: Command not found
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
CC [M] /home/pan/e1000-7.0.38/src/e1000_main.o
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/pan/e1000-7.0.38/src/e1000.h:38,
from /home/pan/e1000-7.0.38/src/e1000_main.c:30:
include/linux/kernel.h:10:20: error: stdarg.h: No such file or directory
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/pan/e1000-7.0.38/src/e1000.h:38,
from /home/pan/e1000-7.0.38/src/e1000_main.c:30:
include/linux/kernel.h:94: error: syntax error before ‘va_list’
include/linux/kernel.h:95: warning: function declaration isn’t a prototype
include/linux/kernel.h:98: error: syntax error before ‘va_list’
include/linux/kernel.h:99: warning: function declaration isn’t a prototype
include/linux/kernel.h:102: error: syntax error before ‘va_list’
include/linux/kernel.h:103: warning: function declaration isn’t a prototype
include/linux/kernel.h:107: error: syntax error before ‘va_list’
include/linux/kernel.h:108: warning: function declaration isn’t a prototype
include/linux/kernel.h:119: error: syntax error before ‘va_list’
include/linux/kernel.h:120: warning: function declaration isn’t a prototype
In file included from include/linux/if_ether.h:107,
from include/linux/netdevice.h:29,
from /home/pan/e1000-7.0.38/src/e1000.h:47,
from /home/pan/e1000-7.0.38/src/e1000_main.c:30:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1067: warning: pointer targets in passing argument 1 of ‘csum_and_copy_from_user’ differ in signedness
In file included from include/linux/ip.h:84,
from /home/pan/e1000-7.0.38/src/e1000.h:62,
from /home/pan/e1000-7.0.38/src/e1000_main.c:30:
include/net/sock.h: In function ‘skb_copy_to_page’:
include/net/sock.h:992: warning: pointer targets in passing argument 1 of ‘csum_and_copy_from_user’ differ in signedness
/home/pan/e1000-7.0.38/src/e1000_main.c: In function ‘e1000_set_mac’:
/home/pan/e1000-7.0.38/src/e1000_main.c:2122: warning: pointer targets in passing argument 1 of ‘is_valid_ether_addr’ differ in signedness
make[2]: *** [/home/pan/e1000-7.0.38/src/e1000_main.o] Error 1
make[1]: *** [_module_/home/pan/e1000-7.0.38/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
make: *** [default] Error 2
pan@ubuntu-pan:~/e1000-7.0.38/src$



不知道是否正常,好像是要gcc3.4,但是我现在联网都没有要怎么才能装?

但/lib/modules/version/kernel/drivers/net/下确实已经有e1000目录,里面有e1000.ko文件
然后在/etc/modules 里面加了:
alias eth0 e1000
运行sudo modprobe e1000屏幕无任何提示(迷惘……)


重器以后发现ifconfig -a显示的多了一个:
sit0 Link encap: IPv6-in-IPv4 (不知道是什么)??
不知道我的操作有没有错误?希望各位指导,不甚感激~~


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译