LinuxSir.cn,穿越时空的Linuxsir!

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

安装摄像头驱动的问题!

[复制链接]
发表于 2005-12-19 10:18:05 | 显示全部楼层 |阅读模式
第一次装摄像头驱动.

编译spca5xx的驱动,make后出错(信息如下),请教该如何解决!

多谢!!!!!!!!!!

[root@localhost spca5xx-20051212]# make
Compiling drivers/usb/spca5xx.c
In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
                 from drivers/usb/spca5xx.c:46:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type
`void *' used in arithmetic
drivers/usb/spca5xx.c: In function `spca5xx_mmap':
drivers/usb/spca5xx.c:5206: warning: passing arg 1 of `remap_page_range_R2baf18f
2' makes pointer from integer without a cast
drivers/usb/spca5xx.c:5206: incompatible type for argument 4 of `remap_page_rang
e_R2baf18f2'
drivers/usb/spca5xx.c:5206: too few arguments to function `remap_page_range_R2ba
f18f2'
drivers/usb/spca5xx.c: At top level:
drivers/usb/spca5xx.c:5251: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8561: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8562: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8563: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8564: warning: braces around scalar initializer
drivers/usb/spca5xx.c:8564: warning: (near initialization for `spca5xx_driver.di
sconnect')
drivers/usb/spca5xx.c:8564: warning: excess elements in scalar initializer
drivers/usb/spca5xx.c:8564: warning: (near initialization for `spca5xx_driver.di
sconnect')
drivers/usb/spca5xx.c:150: warning: `bright' defined but not used
drivers/usb/spca5xx.c:151: warning: `contrast' defined but not used
make: *** [drivers/usb/spca5xx.o] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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