H,

On Saturday 26 March 2011 19:37:38 Misc Things wrote:
> On Sat, Mar 26, 2011 at 11:25 AM, Misc Things <form...@gmail.com> wrote:
> <skip>
> 
> > make -C /lib/modules/2.6.18-194.17.1.el5.centos.plus/build
> > SUBDIRS=/home/az/v4l-dvb-abd3aac6644e/v4l  modules
> > make[2]: Entering directory
> > `/usr/src/kernels/2.6.18-194.17.1.el5.centos.plus-i686'
> >  CC [M]  /home/az/v4l-dvb-abd3aac6644e/v4l/tuner-xc2028.o
> > In file included from
> > /home/az/v4l-dvb-abd3aac6644e/v4l/tuner-xc2028.c:19:
> > /home/az/v4l-dvb-abd3aac6644e/v4l/compat.h:133: error: static
> > declaration of 'strict_strtoul' follows non-static declaration
> > include/linux/kernel.h:141: error: previous declaration of
> > 'strict_strtoul' was here
> > make[3]: *** [/home/az/v4l-dvb-abd3aac6644e/v4l/tuner-xc2028.o] Error 1
> > make[2]: *** [_module_/home/az/v4l-dvb-abd3aac6644e/v4l] Error 2
> > make[2]: Leaving directory
> > `/usr/src/kernels/2.6.18-194.17.1.el5.centos.plus-i686'
> > make[1]: *** [default] Error 2
> > make[1]: Leaving directory `/home/az/v4l-dvb-abd3aac6644e/v4l'
> > make: *** [all] Error 2
> > 
> > [/code]
> > now i'm completely clueless. I also attached config file for the
> > reference.
> > 
> > Please advise.
> > Andrew
> 
> One another step - i commented out the declaration of strict_strtoul'
> from compact.h
> [code]
> diff -h ./compat.h ./compat.h0
> 132d131
> < /*
> 153d151
> < */
> [/code]
> 
> but now it's crashing on
> [code]
> CC [M]  /home/az/v4l-dvb-abd3aac6644e/v4l/bttv-driver.o
> In file included from /home/az/v4l-dvb-abd3aac6644e/v4l/bttvp.h:40,
>                  from /home/az/v4l-dvb-abd3aac6644e/v4l/bttv-driver.c:48:
> /home/az/v4l-dvb-abd3aac6644e/v4l/compat.h:66: error: static
> declaration of 'pci_msi_enabled' follows non-static declaration
> include/linux/pci.h:740: error: previous declaration of
> 'pci_msi_enabled' was here
> In file included from
> /home/az/v4l-dvb-abd3aac6644e/v4l/../linux/include/media/ir-common.h:29,
>                  from /home/az/v4l-dvb-abd3aac6644e/v4l/bttvp.h:45,
>                  from /home/az/v4l-dvb-abd3aac6644e/v4l/bttv-driver.c:48:
> /home/az/v4l-dvb-abd3aac6644e/v4l/../linux/include/media/ir-core.h: In
> function 'ir_input_register':
> /home/az/v4l-dvb-abd3aac6644e/v4l/../linux/include/media/ir-core.h:121:
> error: implicit declaration of function 'input_get_drv
>  data'
> /home/az/v4l-dvb-abd3aac6644e/v4l/../linux/include/media/ir-core.h:121:
> warning: assignment makes pointer from integer without
>   a cast
> make[3]: *** [/home/az/v4l-dvb-abd3aac6644e/v4l/bttv-driver.o] Error 1
> make[2]: *** [_module_/home/az/v4l-dvb-abd3aac6644e/v4l] Error 2
> make[2]: Leaving directory
> `/usr/src/kernels/2.6.18-194.17.1.el5.centos.plus-i686'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/az/v4l-dvb-abd3aac6644e/v4l'
> make: *** [all] Error 2
> [/code]
> 
> can't move further again...
>  what a pain :(

Centos ships a Redhat kernel, which is heavily patches. v4l-dvb doesn't 
support that well. You might have more luck with the new media_build.git tree 
(although I somehow doubt it). Check the linuxtv.org wiki for instructions.

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to