spca5xx with 2.6.19
Kevin Perros
kevin.perros at free.fr
Thu Nov 30 12:43:36 GMT 2006
Alexander Jede wrote:
> Hallo list
> I have feisty installed with the kernel 2.6.19 on my AMD64.
> Unfortunately I can't build the spca5xx modules for my webcam.
> I get the following error if I run m-a or 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=/usr/src/modules/spca5xx
> CC=cc modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.19-6-generic'
> CC [M] /usr/src/modules/spca5xx/drivers/usb/spca5xx.o
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:39:26: error:
> linux/config.h: No such file or directory
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function
> ‘spca50x_init_isoc’:
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1621: warning: assignment
> from incompatible pointer type
> make[2]: *** [/usr/src/modules/spca5xx/drivers/usb/spca5xx.o] Error 1
> make[1]: *** [_module_/usr/src/modules/spca5xx] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.19-6-generic'
> make: *** [default] Error 2
>
> Can anyone help me to build the module?
>
> Thanks
> Alexander
>
>
GCC cannot find your config.h (it is written :), so you may have
forgotten to make a link from /usr/include/linux to your
linux-source/include or your kernel includes are broken. Either make the
link yourself or install the good includes or edit your driver's makefiles.
More information about the ubuntu-devel
mailing list