[Bug 643716] New: ./v4l2_calls.h:33: fatal error: linux/videodev.h: No such file or directory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Mar 2 12:08:23 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=643716
  GStreamer | gst-plugins-good | git

           Summary: ./v4l2_calls.h:33: fatal error: linux/videodev.h: No
                    such file or directory
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lferrett at gnome.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


It seems here are some configure/build issue when (I'm experiencing them in
jhbuild on ubuntu 10.10) libv4l-dev is not installed

Basically the build system ignores libv4l-dev is not available and tries to
build the related plugin, failing.

Here is related CFLAG values then libv4l-dev is not installed

betatester at turnip:~/Source/gnome3/gst-plugins-good$ grep LIBV4L2_CFLAGS *
config.log:ac_cv_env_LIBV4L2_CFLAGS_set=
config.log:ac_cv_env_LIBV4L2_CFLAGS_value=
config.log:LIBV4L2_CFLAGS=''
config.status:S["LIBV4L2_CFLAGS"]=""
configure:LIBV4L2_CFLAGS
configure:LIBV4L2_CFLAGS
configure:  LIBV4L2_CFLAGS
configure:    if test -n "$LIBV4L2_CFLAGS"; then
configure:        pkg_cv_LIBV4L2_CFLAGS="$LIBV4L2_CFLAGS"
configure:  pkg_cv_LIBV4L2_CFLAGS=`$PKG_CONFIG --cflags "libv4l2" 2>/dev/null`
configure:    LIBV4L2_CFLAGS=$pkg_cv_LIBV4L2_CFLAGS
Makefile:LIBV4L2_CFLAGS = 
Makefile.in:LIBV4L2_CFLAGS = @LIBV4L2_CFLAGS@


Here the related build failure.

/bin/bash ../../libtool  --tag=CC --tag=disable-static  --mode=compile gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -I../..    -pthread
-I/opt/gnome3/include/gstreamer-0.10 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include -I/opt/gnome3/include/libxml2   -pthread
-I/opt/gnome3/include/gstreamer-0.10 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include -I/opt/gnome3/include/libxml2   -pthread
-I/opt/gnome3/include/gstreamer-0.10 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include -I/opt/gnome3/include/libxml2  
-I../../gst-libs -pthread -I/opt/gnome3/include/gstreamer-0.10
-I/opt/gnome3/include/glib-2.0 -I/opt/gnome3/lib64/glib-2.0/include
-I/opt/gnome3/include/libxml2    -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED
-Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings
-Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
-Wno-multichar -Wnested-externs -Werror  -g   -DGST_DISABLE_DEPRECATED  
-pthread -I/opt/gnome3/include/gudev-1.0 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include   -g -O2 -MT
libgstvideo4linux2_la-gstv4l2.lo -MD -MP -MF
.deps/libgstvideo4linux2_la-gstv4l2.Tpo -c -o libgstvideo4linux2_la-gstv4l2.lo
`test -f 'gstv4l2.c' || echo './'`gstv4l2.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -pthread
-I/opt/gnome3/include/gstreamer-0.10 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include -I/opt/gnome3/include/libxml2 -pthread
-I/opt/gnome3/include/gstreamer-0.10 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include -I/opt/gnome3/include/libxml2 -pthread
-I/opt/gnome3/include/gstreamer-0.10 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include -I/opt/gnome3/include/libxml2
-I../../gst-libs -pthread -I/opt/gnome3/include/gstreamer-0.10
-I/opt/gnome3/include/glib-2.0 -I/opt/gnome3/lib64/glib-2.0/include
-I/opt/gnome3/include/libxml2 -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED
-Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings
-Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
-Wno-multichar -Wnested-externs -Werror -g -DGST_DISABLE_DEPRECATED -pthread
-I/opt/gnome3/include/gudev-1.0 -I/opt/gnome3/include/glib-2.0
-I/opt/gnome3/lib64/glib-2.0/include -g -O2 -MT
libgstvideo4linux2_la-gstv4l2.lo -MD -MP -MF
.deps/libgstvideo4linux2_la-gstv4l2.Tpo -c gstv4l2.c  -fPIC -DPIC -o
.libs/libgstvideo4linux2_la-gstv4l2.o
In file included from ./gstv4l2bufferpool.h:29,
                 from gstv4l2src.h:28,
                 from gstv4l2.c:34:
./v4l2_calls.h:33: fatal error: linux/videodev.h: No such file or directory
compilation terminated.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list