Code:
lsusb
Bus 002 Device 002: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX
Check the hardware list at
http://mxhaard.free.fr/spca5xx.html
Code:
Logitech 213 0x046d 0x08d7 Communicate STX Sully Vc0302 Tas5130c Yes jpeg spca5xx/LE gspca v4l1/v4l2 ****
Downloaded both the spca5xx and gspca v4li:
Code:
make clean
make
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-686'
/usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build:49: *** CFLAGS was changed in "/home/ventsy/.local/share/Trash/files/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[3]: *** [_module_/home/ventsy/.local/share/Trash/files/spca5xx-v4l1goodbye] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-686'
make: *** [default] Error 2
The doc says:
Quote:
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.
|
I don't have /usr/src/linux directory, I have the following in my /usr/src:
Code:
linux-headers-2.6.32-5-686 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 virtualbox-ose-3.2.10
How do I run this?
make [config|menuconfig|xconfig]; make dep
I tried running
Code:
make KBUILD_NOPEDANTIC=1 KINCLUDE=/usr/src/linux-headers-2.6.32-5-common/include
but I get a bunch of compilation errors...
I then tried compiling the gspca driver - pretty much the same result - a bunch of compilation errors.
Any ideas?