emerge media-libs/gst-plugins-0.6.0-r2 fails, looks like videodev2.h is not at the correct level - installled with sys-kernel/linux-headers-2.4.20. Reproducible: Always Steps to Reproduce: 1. emerge gst-plugins 2. 3. Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -g -march=athlon-mp -O2 -pipe -c gstv4l2element.c -MT libgstv4l2element_la-gstv4l2element.lo -MD -MP -MF .deps/libgstv4l2element_la-gstv4l2element.TPlo -fPIC -DPIC -o libgstv4l2element_la-gstv4l2element.lo In file included from v4l2_calls.h:23, from gstv4l2element.c:24: gstv4l2element.h:26:29: linux/videodev2.h: No such file or directory In file included from v4l2_calls.h:23, from gstv4l2element.c:24: gstv4l2element.h:45: `V4L2_CTRL_TYPE_INTEGER' undeclared here (not in a function) gstv4l2element.h:45: enumerator value for `GST_V4L2_ATTRIBUTE_VALUE_TYPE_INTEGER' not integer constant gstv4l2element.h:46: `V4L2_CTRL_TYPE_BOOLEAN' undeclared here (not in a function) gstv4l2element.h:46: enumerator value for `GST_V4L2_ATTRIBUTE_VALUE_TYPE_BOOLEAN' not integer constant gstv4l2element.h:47: `V4L2_CTRL_TYPE_MENU' undeclared here (not in a function) gstv4l2element.h:47: enumerator value for `GST_V4L2_ATTRIBUTE_VALUE_TYPE_MENU' not integer constant gstv4l2element.h:48: `V4L2_CTRL_TYPE_BUTTON' undeclared here (not in a function) gstv4l2element.h:48: enumerator value for `GST_V4L2_ATTRIBUTE_VALUE_TYPE_BUTTON' not integer constant gstv4l2element.h:79: field `vcap' has incomplete type gstv4l2element.h:93: confused by earlier errors, bailing out Expected Results: clean compile picked up the patches in http://bytesex.org/patches/2.4, updated the header with those. That cleared it up.
which patches did you need exactly ?
disabling v4l for now.. since header fixing might take some time. question still stands
linux-2.4.20/include/linux/videodev2.h out of 11-v4l2-api-2.4.20.diff.gz is where the enumerators are.
this had been reported and fixed in GStreamer CVS: http://bugzilla.gnome.org/show_bug.cgi?id=105467 patching the linux-headers is not a good idea since it'll break for people running 2.4.19. although how many are still running this, i don't know.
v4l is disabled in current gst-plugins ebuilds, we'll just re-enable when the fix is in a release.