免费注册 查看新帖 |

Chinaunix

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

我在Fedora-10系统下 编译D-Link 530TX驱动,提示错误2,是什么原因。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-30 20:36 |只看该作者 |倒序浏览
我在Fedora-10系统下  编译D-Link 530TX驱动,提示错误2,是什么原因。  谁能帮忙上传个驱动,谢谢了

其驱动文件有   
   kcompat.h
    linux.txt
    Makefile
    osdep.h
    rhine.h
    rhine_cfg.h
    rhine_hw.c
    rhine_hw.h
    rhine_hw.h.bak
    rhine_main.c
    rhine_main.c.bak
    rhine_proc.c
    rhine_proc.h
    rhine_wol.c
    rhine_wol.h

错误信息为‘
[xc@localhost ~]$ cd src
[xc@localhost src]$ make
make -C /lib/modules/2.6.27.5-117.fc10.i686/build SUBDIRS=/home/xc/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.5-117.fc10.i686'
  CC [M]  /home/xc/src/rhine_main.o
在包含自 /home/xc/src/rhine_main.c:28 的文件中:
/home/xc/src/rhine.h:56:26: 错误:linux/config.h:没有那个文件或目录
/home/xc/src/rhine_main.c:59: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:64: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:73: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:85: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:100: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:115: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:122: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:131: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:139: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:148: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:159: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:175: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:182: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:194: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c:200: 错误:expected ‘)’ before string constant
/home/xc/src/rhine_main.c: 在函数‘rhine_found1’中:
/home/xc/src/rhine_main.c:673: 错误:隐式声明函数‘SET_MODULE_OWNER’
/home/xc/src/rhine_main.c: 在函数‘rhine_receive_frame’中:
/home/xc/src/rhine_main.c:1221: 错误:‘struct sk_buff’没有名为‘mac’的成员
/home/xc/src/rhine_main.c:1221: 错误:‘struct sk_buff’没有名为‘mac’的成员
/home/xc/src/rhine_main.c:1221: 错误:‘struct sk_buff’没有名为‘mac’的成员
/home/xc/src/rhine_main.c:1221: 错误:‘struct sk_buff’没有名为‘mac’的成员
/home/xc/src/rhine_main.c: 在函数‘rhine_open’中:
/home/xc/src/rhine_main.c:1579: 错误:‘SA_SHIRQ’未声明(在此函数内第一次使用)
/home/xc/src/rhine_main.c:1579: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/home/xc/src/rhine_main.c:1579: 错误:所在的函数内也只报告一次。)
/home/xc/src/rhine_main.c:1579: 警告:传递‘request_irq’的第 2 个参数时在不兼容的指针类型间转换
/home/xc/src/rhine_main.c: 在函数‘rhine_xmit’中:
/home/xc/src/rhine_main.c:1723: 错误:‘CHECKSUM_HW’未声明(在此函数内第一次使用)
/home/xc/src/rhine_main.c:1724: 错误:‘struct sk_buff’没有名为‘nh’的成员
/home/xc/src/rhine_main.c: 在函数‘rhine_init_module’中:
/home/xc/src/rhine_main.c:1942: 错误:隐式声明函数‘pci_module_init’
/home/xc/src/rhine_main.c: 在函数‘rhine_notify_reboot’中:
/home/xc/src/rhine_main.c:2253: 错误:‘rhine_suspend’的第 2 个实参类型不兼容
/home/xc/src/rhine_main.c: 在函数‘rhine_suspend’中:
/home/xc/src/rhine_main.c:2292: 错误:‘pci_set_power_state’的第 2 个实参类型不兼容
make[2]: *** [/home/xc/src/rhine_main.o] 错误 1
make[1]: *** [_module_/home/xc/src] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.5-117.fc10.i686'
make: *** [default] 错误 2
[xc@localhost src]$

论坛徽章:
36
IT运维版块每日发帖之星
日期:2016-04-10 06:20:00IT运维版块每日发帖之星
日期:2016-04-16 06:20:0015-16赛季CBA联赛之广东
日期:2016-04-16 19:59:32IT运维版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-19 06:20:00每日论坛发贴之星
日期:2016-04-19 06:20:00IT运维版块每日发帖之星
日期:2016-04-25 06:20:00IT运维版块每日发帖之星
日期:2016-05-06 06:20:00IT运维版块每日发帖之星
日期:2016-05-08 06:20:00IT运维版块每日发帖之星
日期:2016-05-13 06:20:00IT运维版块每日发帖之星
日期:2016-05-28 06:20:00每日论坛发贴之星
日期:2016-05-28 06:20:00
2 [报告]
发表于 2009-05-30 22:51 |只看该作者
LZ这个版块也发帖了啊。先确定一下你的驱动源码是否使用在当前内核版本上。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP