操作系统

spca5xx-20051001编译错误。。。
作者 Qing 2005年10月14日 09:42

    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

    --

    Michel Xhaard

    http://mxhaard.free.fr

    

    

    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/712/showart_51934.html

打开APP阅读全文

spca5xx-20051001编译错误。。。

spca5xx-20051001编译错误。。。

长按识别二维码 进入IT168查看全文

请长按保存图片
{{data.thematic.text}}

相关文章

加载中...

分享到

请使用浏览器的分享功能
分享到微信等