V4L not in Linux kernel 2.6

John Vogel <[email protected]> Tue, 26 Apr 2011 19:01:10 -0400
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------000308020405000006080204
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

While trying to build mjpegtools-2.0.0rc1, configure choked on check for 
linux/videodev.h. This is v4l specific. Recent kernels have v4l2 only. 
Small patch attached.

--------------000308020405000006080204
Content-Type: text/x-diff;
 name="mjpeg_unrequire_v4l.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="mjpeg_unrequire_v4l.diff"

diff -uNr mjpeg_play.orig/configure.ac mjpeg_play/configure.ac
--- mjpeg_play.orig/configure.ac	2011-04-26 17:45:38.927128651 -0400
+++ mjpeg_play/configure.ac	2011-04-26 18:29:08.679132910 -0400
@@ -157,7 +157,7 @@
                   [have_video4linux=true
                    AC_DEFINE(HAVE_V4L, 1,
 		             [Building for Linux - using the video4linux API])],
-                  [AC_MSG_ERROR([videodev.h not found - please install the linux kernel headers])])
+                  [AC_MSG_WARN([videodev.h not found])])
    ;;
 esac
 AM_CONDITIONAL(HAVE_V4L, test x$have_video4linux = xtrue)

--------------000308020405000006080204
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--------------000308020405000006080204
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mjpeg-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mjpeg-developer

--------------000308020405000006080204--