Page 1 of 1

Building with 2.6.38

Posted: Sat Jan 22, 2011 11:57 pm
by tibbs
So, it looks like v4l1 is officially gone in 2.6.38 and hence 1.24.2 doesn't build. I haven't tried digging through SVN to see if anything's happened there, but searching only turned up some v4l2 work from 2007 that doesn't appear to have gone anywhere.

Is there a plan for making this work with modern kernels? If not, I'm going to have to drop this from Fedora because, as of today, can no longer build it.

Posted: Tue Jan 25, 2011 9:23 pm
by tibbs
Just to follow up, 1.24.3 does indeed fail to compile on 2.6.38. Looking at zm_local_camera.h an .cpp I see that at least some of the code can handle HAVE_LINUX_VIDEODEV_H being undefined, so I patched configure.ac to warn instead of abort when videodev.h is not found but there is plenty of stuff that won't work.

Unfortunately v4l1 support has been deprecated for many years and is finally out of the kernel as of 2.6.38 so something's going to need to be done. It's been a long time since I've done any C++ work but I'm going to have a poke around and see if I can dig up any other Fedora folks who can help.