Web lists-archives.com

Re: [Spca50x-devs] Is gspcav1 is V4l2 compatible?




В сообщении от 13 июля 2007 16:51 Chris Budden написал(a):
> I tried to compile the v4l2 version with the following failing output:
>
> make -C /lib/modules/`uname -r`/build
> SUBDIRS=/home/cbudden/Desktop/gspca-20060930/gspcav2 CC=cc modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
>   CC [M]  /home/cbudden/Desktop/gspca-20060930/gspcav2/gspcaV2.o
> /home/cbudden/Desktop/gspca-20060930/gspcav2/gspcaV2.c:40:26: error:
> linux/config.h: No such file or directory
> /home/cbudden/Desktop/gspca-20060930/gspcav2/gspcaV2.c: In function
> 'gspca_init_transfert':
> /home/cbudden/Desktop/gspca-20060930/gspcav2/gspcaV2.c:1205: warning:
> assignment from incompatible pointer type
> /home/cbudden/Desktop/gspca-20060930/gspcav2/gspcaV2.c:1237: warning:
> passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
> make[2]: *** [/home/cbudden/Desktop/gspca-20060930/gspcav2/gspcaV2.o] Error
> 1
> make[1]: *** [_module_/home/cbudden/Desktop/gspca-20060930/gspcav2] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
> make: *** [default] Error 2
>
>
> What is going wrong?

It's change in 2.6 kernel

Need use 

#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif

instead of

#include <linux/config.h>

try my http://mgspca.e1.bmstu.ru/mgspcav2-02.00.20-1.tar.bz2 version
where it change already applyed.

> gspcav1-20070508 works fine
>
> Chris
>
> On 7/13/07, Serge A. Suchkov <Serge.A.S@xxxxxxxxx> wrote:
> > В сообщении от 13 июля 2007 15:19 Manjunath A M написал(a):
> > > Hi can any one tell me whether gspcav1 is V4l2 compatible? if not which
> >
> > No. gspcav1 is V4L1 driver.
> >
> > > video driver is available with V4l2 compatible..
> >
> > In future gspcav1 will be canged by gspcav2 V4L2 driver.
> > You can found it in archive:
> > http://mxhaard.free.fr/spca50x/Investigation/Gspca/gspca-20060930.tar.gz
> > Or its modular version here
> > http://mgspca.e1.bmstu.ru/mgspcav2-02.00.20-1.tar.bz2

-- 
Regards,

-------------

Serge A. Suchkov

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs