LinuxSir.cn,穿越时空的Linuxsir!

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

求教,FC5下如何安装摄像头驱动?

[复制链接]
发表于 2006-3-24 18:44:52 | 显示全部楼层 |阅读模式
求教,FC5下如何安装摄像头驱动?
我到http://mxhaard.free.fr/download. ... 怎么也make不了


[root@localhost spca5xx-20060301]# 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=/tmp/spca/spca5xx-20060301 CC=cc modules
make: *** /lib/modules/2.6.15-1.2054_FC5smp/build: 没有那个文件或目录。 停止。
make: *** [default] 错误 2
[root@localhost spca5xx-20060301]#

可是包里面的说明在新的内核2.6.15下编译一点问题都没有
下面是readme中的一段引文:

Before trying to compile the driver, ensure that you've configured your
kernel, and updated the dependencies:
'make [config|menuconfig|xconfig]; make dep'.

Make sure, when compiling the driver, you use the same version of compiler as
was used to compile your kernel. Not doing so can create incompatible binaries.

If you wish to compile the driver against a kernel other than the currently
installed one, build the driver with
'make KINCLUDE=/usr/src/linux-<version>/include', or similar.

Please note, the default location for the kernel, according to the driver, is
/usr/src/linux.

To build just the driver, simply use 'make'.
Compiling against the linux kernel 2.4 source tree, there should be no
warnings at all.

请问怎么解决!!!
 楼主| 发表于 2006-3-25 10:58:29 | 显示全部楼层
自己顶一个先,盼高手帮忙哦
回复 支持 反对

使用道具 举报

发表于 2006-3-25 12:54:19 | 显示全部楼层
我也遇到同样的问题。
哪位已经解决了啊?
回复 支持 反对

使用道具 举报

发表于 2006-3-25 13:04:34 | 显示全部楼层
先确定一下你是否安装了内核的开发包,默认是不安装的。如果安装了的话,在/usr/src/kernels目录下会有一个对应内核的目录,另外确保/lib/modules/2.6.15-1.2054_FC5smp/build这个符号连接确实指向/usr/src/kernels的那个对应目录。然后再编译应该不会有问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 09:48:40 | 显示全部楼层
谢谢,应该搞定了
就是因为没有装devel包的原因
回复 支持 反对

使用道具 举报

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

本版积分规则

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