Bug#621466: libvideo-capture-v4l-perl: FTBFS: V4l.xs:12:28: fatal error: linux/videodev.h: No such file or directory

Dominic Hargreaves dom at earth.li
Sun May 1 13:51:53 UTC 2011


On Fri, Apr 08, 2011 at 04:53:35PM +0200, Salvatore Bonaccorso wrote:
> Hi
> 
> On Thu, Apr 07, 2011 at 08:51:36AM +0200, Salvatore Bonaccorso wrote:
> > > V4l.xs:12:28: fatal error: linux/videodev.h: No such file or directory
> 
> Some information on this, from [1]:
> 
> commit 88ae7624a6fe890e5a8ca57b25420f66e1389f8b
> Author: Mauro Carvalho Chehab <mchehab at redhat.com>
> Date:   Mon Dec 27 07:47:54 2010 -0300
> 
>     [media] V4L1 removal: Remove linux/videodev.h
>     
>     There's no sense on keeping it on 2.6.38, as nobody is using it
>     anymore, at the kernel tree, and installing it at the userspace
>     API.
>     
>     As two deprecated drivers still need it, move it to their internal
>     directories.
>     
>     Reviewed-by: Hans Verkuil <hverkuil at xs4all.nl>
>     Signed-off-by: Mauro Carvalho Chehab <mchehab at redhat.com>
> 
>  [1] http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.37-git6.log
> 
> So linux/videodev.h was removed,

This is basically the same as #569091, which was mostly fixed by the
inclusion of the v4l2 patch. However it appears that patch was not quite
complete.

I've tweaked the patch by removing the linux/videodev.h reference as
well as removing references to a few symbols not defined by libv4l, and
this appears to build okay, but I don't have easy access to any test
hardware to see wheter this will still work. Note that I'm not a C or
XS programmer, so any additional review of my changes would also be
welcome.

The changes are in subversion. Please could someone with any capture
devices give this version a spin and let me know whether it still works?

Thanks,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-perl-maintainers mailing list