Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > spca5xx-20051001编译错误。。。
【标  题】:spca5xx-20051001编译错误。。。
【关键字】:spca5xx-20051001
【来  源】:http://blog.chinaunix.net/article.php?articleId=51934&blogId=712

spca5xx-20051001编译错误。。。

Your Ad Here 2.6.14-rc2-mm2

make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/root/torrents/spca5xx-20051001 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.14-rc2-mm2'
CC [M] /root/torrents/spca5xx-20051001/drivers/usb/spca5xx.o
CC [M] /root/torrents/spca5xx-20051001/drivers/usb/spcadecoder.o
In file included from /root/torrents/spca5xx-20051001/drivers/usb/spcadecoder.h:5,
from /root/torrents/spca5xx-20051001/drivers/usb/spcadecoder.c:35:
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:23:5: warning: "LINUX_VERSION_CODE" is not defined
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:23:26: warning: "KERNEL_VERSION" is not defined
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:23:40: missing binary operator before token "("
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:44:5: warning: "LINUX_VERSION_CODE" is not defined
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:44:26: warning: "KERNEL_VERSION" is not defined
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:44:40: missing binary operator before token "("
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:51:27: linux/tqueue.h: No such file or directory
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:54:5: warning: "LINUX_VERSION_CODE" is not defined
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:54:27: warning: "KERNEL_VERSION" is not defined
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:54:41: missing binary operator before token "("
In file included from /root/torrents/spca5xx-20051001/drivers/usb/spcadecoder.h:5,
from /root/torrents/spca5xx-20051001/drivers/usb/spcadecoder.c:35:
/root/torrents/spca5xx-20051001/drivers/usb/spca5xx.h:459: error: field `task' has incomplete type
make[2]: *** [/root/torrents/spca5xx-20051001/drivers/usb/spcadecoder.o] Error 1
make[1]: *** [_module_/root/torrents/spca5xx-20051001] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-rc2-mm2'
make: *** [default] Error 2


change add :
#include <linux/version.h>

--
Michel Xhaard
http://mxhaard.free.fr

明白shell中替换命令``与()的区别吗?:【上一篇】
Software RAID For Linux:【下一篇】
【相关文章】
没有相关文章
【随机文章】
  • 绑定txt文件到DataGrid
  • kerneld mini-HOWTO
  • VPN实例配置方案-中文详细注解一(图)
  • 网通用户有福气了~发现了一个几千部电影的网站
  • Sql Injection入侵方法全部收集(2)
  • 求gmail邀请?
  • Jumpstart+flash安装步骤
  • CSS布局站点大观
  • 病毒的检查:观察注册表和系统配置文件
  • PHP3中使用ORACLE函数的使用说明
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.