LinuxSir.cn,穿越时空的Linuxsir!

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

有人在rh9或kernel2.4.x下驱动了摄像头吗?

[复制链接]
发表于 2005-6-22 23:22:00 | 显示全部楼层 |阅读模式
按照网上的贴子下载的spca5xx,make都过不去,出现如下错误,请有经验的人帮帮忙!谢谢!
Compiling drivers/usb/spcadecoder.c
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:45:
/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:5632: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
drivers/usb/spca5xx.c:5632: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
drivers/usb/spca5xx.c:5632: too few arguments to function `remap_page_range_R2baf18f2'
drivers/usb/spca5xx.c: At top level:
drivers/usb/spca5xx.c:5675: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8675: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8677: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8678: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8679: warning: braces around scalar initializer
drivers/usb/spca5xx.c:8679: warning: (near initialization for `spca5xx_driver.disconnect')
drivers/usb/spca5xx.c:8679: warning: excess elements in scalar initializer
drivers/usb/spca5xx.c:8679: warning: (near initialization for `spca5xx_driver.disconnect')
make: *** [drivers/usb/spca5xx.o] Error 1
发表于 2005-6-23 03:32:23 | 显示全部楼层
精华有教的,而且你自己也应该看看readme
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-23 10:47:27 | 显示全部楼层
我看过了,就是不行,而且看精华里有些人用rh9出现和我一样的错误啊,不知道为什么,请教一下,谢谢!你们是不是都是kernel2.6以上的才装的啊???
回复 支持 反对

使用道具 举报

发表于 2005-6-23 10:54:54 | 显示全部楼层
RH9太老了,还是换新的发行版好了……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-23 22:51:16 | 显示全部楼层
可是项目需要啊,必须是kernel2.4内核,唉。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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