[Tellico-users] Re: barcode compilation issue

Regis Boudin regis at boudin.name
Wed Feb 23 21:26:25 UTC 2011


Hi Alex,

On Tue, 2011-02-22 at 20:17 -0500, Alex Lancaster wrote:
> > Thanks Regis,
> > 
> > That seems to fix the GCC 4.6. issue. Now I appear to have another
> > compilation issue,
> > this time something to do with the v4l and the barcode support:
> >> fatal error: linux/videodev.h: No such file or directory
> > 
> > Full log here:
> > 
> > http://koji.fedoraproject.org/koji/getfile?taskID=2858983&name=build.log
> > 
> > the packages and libraries used for compilation are here:
> > 
> > http://koji.fedoraproject.org/koji/getfile?taskID=2858983&name=root.log
> > 
> > Any ideas? Did they change the v4l API or somesuch?
> 
> Ah, it looks like in kernel 2.6.38 and later "/usr/include/linux/videodev.h"
> has been replaced by "/usr/include/linux/videodev2.h"
> 
> https://admin.fedoraproject.org/pkgdb/builds/show/F-devel-x86_64/kernel-headers/0/2.6.38/0.rc5.git1.1.fc15/x86_64

Good catch. I didn't do a full rebuild, so didn't notice this one.

 
> Is this as simple as changing videodev.h to videodev2.h?  Or is there
> an API change?

It looks like there's an API change. Including the new file instead of
the old one returns errors about types that don't exist.

I'll take a look at adding the relevant safeguards, until it is ported
to the new API.

Regis




More information about the tellico-users mailing list