|
求教,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.
请问怎么解决!!! |
|