LinuxSir.cn,穿越时空的Linuxsir!

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

求助:linux下安装网卡驱动(D-Link DFE530TX)遇到的问题

[复制链接]
发表于 2004-9-22 14:46:49 | 显示全部楼层 |阅读模式
虽然这块网卡有自带的linux下的驱动,但是是一个tar.gz的包,需要编译,就在make install的时候出现了错误:
“Compile the driver source files and it will generate rhinefet.o, and
       copy it to correct driver installation path (The installation directory
       is different in different kernel versions. In 2.4.x kernel, the path is
       /lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
       the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
       above) means the kernel version of your Linux distribution. If you don't
       know your kernel version , please run 'uname -r' command in command
       line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
        make install”
这是驱动的readme说的,我执行了make install之后,出现了以下字样:
“gcc compile error,could not exec "as" no such file or directory error 2”

望高手指点!谢谢!
发表于 2004-9-24 16:10:43 | 显示全部楼层
什么系统环境?make时有什么错误提示?
 楼主| 发表于 2004-9-25 15:37:08 | 显示全部楼层

linux red hat 7.2

linux red hat 7.2
一切都是装好这个系统之后的默认配置,没有升级过内核
执行make install之后报错:
"make install error could not exec "as",no such file or directory"
之后就回到命令行了。是不是内核不支持?因为看网上的安装指南都是2.4.12,redhat 7.2 的内核是2.4.7
谢谢高手指点!
 楼主| 发表于 2004-9-26 13:12:54 | 显示全部楼层

具体的情况:

执行之后出现:
gcc: installation problem, cannot exec 'as':No such file or directory
make: *** [rhine_main.0] Error 2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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