QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 754|回复: 1

请教有关linux下使用摄像头问题

[复制链接]
发表于 2005-5-5 00:30:25 | 显示全部楼层 |阅读模式
偶刚接触linux,是个菜鸟,大虾多多帮偶呵!

最近装了redhat9.0  kernel 版本2.4.20-8
usb摄像头是罗技
在网上找了个驱动叫spca5xx它的技术文档里写着支持我的摄像头

按照它的安装步骤, make   ---- make install 但是make 后出现如下错误,兄弟们帮我看看,怎么解决

[root@ylfc2000 spca5xx-20050419]# make
Compiling drivers/usb/spcadecoder.c
Compiling drivers/usb/spca5xx.c
In file included from /lib/modules/2.4.20-8/build/include/linux/pagemap.h:16,
                 from drivers/usb/spca5xx.c:54:
/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:5392: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
drivers/usb/spca5xx.c:5392: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
drivers/usb/spca5xx.c:5392: too few arguments to function `remap_page_range_R2baf18f2'
drivers/usb/spca5xx.c: At top level:
drivers/usb/spca5xx.c:5435: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8382: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8384: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8385: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8386: warning: braces around scalar initializer
drivers/usb/spca5xx.c:8386: warning: (near initialization for `spca5xx_driver.disconnect')
drivers/usb/spca5xx.c:8386: warning: excess elements in scalar initializer
drivers/usb/spca5xx.c:8386: warning: (near initialization for `spca5xx_driver.disconnect')
发表于 2005-5-5 10:43:59 | 显示全部楼层
只要没有 error ,问题就不大。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-20 17:10 , Processed in 0.527713 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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