当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 编译spca5xx出现问题
帖子发表于 : 2007-04-22 16:55 

注册: 2007-02-09 23:36
帖子: 90
地址: China
送出感谢: 0 次
接收感谢: 0 次
引用:
sean@Sean-PC:~/Desktop/spca5xx-20060501$ make CC=gcc-3.4
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=/home/sean/Desktop/spca5xx-20060501 CC=gcc-3.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.o
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: linux/config.h: No such file or directory
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca50x_init_isoc':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:1621: warning: assignment from incompatible pointer type
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca5xx_open':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: implicit declaration of function `video_devdata'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: initialization makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: implicit declaration of function `video_get_drvdata'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: initialization makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca5xx_close':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning: initialization makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca5xx_do_ioctl':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning: initialization makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca5xx_ioctl':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit declaration of function `video_usercopy'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca5xx_read':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning: initialization makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca5xx_mmap':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning: initialization makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable `spca50x_template' has initializer but incomplete type
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field `owner' specified in initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess elements in struct initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near initialization for `spca50x_template')
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field `name' specified in initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess elements in struct initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near initialization for `spca50x_template')
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field `type' specified in initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near initialization for `spca50x_template')
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field `hardware' specified in initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near initialization for `spca50x_template')
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field `fops' specified in initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near initialization for `spca50x_template')
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field `release' specified in initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: `video_device_release' undeclared here (not in a function)
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near initialization for `spca50x_template')
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field `minor' specified in initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near initialization for `spca50x_template')
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `cd_to_spca50x':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit declaration of function `to_video_device'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca50x_create_sysfs':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit declaration of function `video_device_create_file'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: In function `spca5xx_probe':
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit declaration of function `video_device_alloc'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment makes pointer from integer without a cast
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of `sizeof' to incomplete type `video_device'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of `sizeof' to incomplete type `video_device'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of `sizeof' to incomplete type `video_device'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing pointer to incomplete type
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit declaration of function `video_set_drvdata'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit declaration of function `video_register_device'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: `VFL_TYPE_GRABBER' undeclared (first use in this function)
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each undeclared identifier is reported only once
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each function it appears in.)
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing pointer to incomplete type
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit declaration of function `video_device_release'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit declaration of function `video_unregister_device'
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: storage size of `spca50x_template' isn't known
make[2]: *** [/home/sean/Desktop/spca5xx-20060501/drivers/usb/spca5xx.o] 错误 1
make[1]: *** [_module_/home/sean/Desktop/spca5xx-20060501] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [default] 错误 2
sean@Sean-PC:~/Desktop/spca5xx-20060501$



页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-04-22 17:17 

注册: 2006-11-02 13:12
帖子: 107
送出感谢: 0 次
接收感谢: 0 次
7.04要用gspca1.10
另外编译器似乎需要gcc-4.1


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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