git build, videodev.h and gst-plugins-base video4linux plugin

Oleksandr Lavrushchenko kpykcb at gmail.com
Wed Apr 20 11:15:06 PDT 2011


hi all,

i'm want to build git sources, i'm on debian wheezy/sid.

0)head/gst-plugins-base% uname -a
Linux bot 2.6.38-2-686 #1 SMP Thu Apr 7 05:24:21 UTC 2011 i686 GNU/Linux

At second step (gst-plugins-base), i got a trouble.
I need v4l2src element, but configuration step failed:

configure: *** Plug-ins with dependencies that will NOT be built:
	video4linux

Log say that:

configure:27263: *** checking feature: Video 4 Linux ***
configure:27267: *** for plug-ins: video4linux ***
configure:27303: checking whether VID_TYPE_MPEG_ENCODER is declared
configure:27303: gcc -std=gnu99 -c -g -O2  conftest.c >&5
conftest.c:77:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.

So configure want to get /usr/include/linux/videodev.h

But according to:

http://groups.google.com/group/linux.debian.devel.mentors/browse_thread/thread/d6582d1cc79ece7c

This file was removed.

Which is the best workaround for this? Just put this file for build
time from older kernel?
Or there are some "clean" ways?

Thanks.


More information about the gstreamer-devel mailing list