Massimo Casoni

LTIB compile error: videodev.h not found

Discussion created by Massimo Casoni on Dec 26, 2011
Latest reply on Dec 27, 2011 by KrishnaPavan


since days I'm looping with this problem:


In file included from gstv4l2object.c:35:0:
v4l2_calls.h:33:30: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[3]: *** [libgstvideo4linux2_la-gstv4l2object.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /home/mcasoni/freescale/ltib/tmp/rpm-tmp.32757 (%build)

RPM build errors:
    Bad exit status from /home/mcasoni/freescale/ltib/tmp/rpm-tmp.32757 (%build)
Build time for gst-plugins-good: 175 seconds

Failed building gst-plugins-good

f_buildrpms() returned an error, exiting

Started: Mon Dec 26 15:28:12 2011
Ended:   Mon Dec 26 15:49:37 2011
Elapsed: 1285 seconds

These packages failed to build:

Build Failed

Exiting on error or interrupt


More details:

-> I'm using a IMX53 QSB with Freescale BSP 11.09.01

-> gst-plugins-good is the original BSP version 0.10.16 (unmodified)

-> The complete LFS and kernel are properly build and running on target when the default arm-fsl-linux-gnueabi- toolchain is used. When the toolchain is modified to "custom", using a CodeSourcery 2011.09 version (same options) the problem appears: can't find linux/videodev.h

Could anyone of you experts explain the reason of such error ?

Why build fail in such way by only selecting another toolchain?