root@linaro-alip:~/gstreamer-imx# ./waf
Waf: Entering directory `/root/gstreamer-imx/build'
[28/49] Compiling src/v4l2src/v4l2src.c
[33/49] Linking build/src/audio/libgstimxaudio.so
[36/49] Compiling src/blitter/video_sink.c
[37/49] Compiling src/blitter/video_transform.c
[38/49] Compiling src/compositor/gst-backport/gstimxbpaggregator.c
In file included from ../src/v4l2src/v4l2src.c:24:0:
/usr/include/gstreamer-1.0/gst/interfaces/photography.h:28:2: warning: #warning "The GstPhotography interface is unstable API and may change in future." [-Wcpp]
#warning "The GstPhotography interface is unstable API and may change in future."
^
/usr/include/gstreamer-1.0/gst/interfaces/photography.h:29:2: warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning." [-Wcpp]
#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
^
../src/v4l2src/v4l2src.c: In function ‘gst_imx_v4l2src_caps_for_current_setup’:
../src/v4l2src/v4l2src.c:541:14: error: ‘GST_VIDEO_FORMAT_NV12_64Z32’ undeclared (first use in this function)
gst_fmt = GST_VIDEO_FORMAT_NV12_64Z32;
^
../src/v4l2src/v4l2src.c:541:14: note: each undeclared identifier is reported only once for each function it appears in
../src/v4l2src/v4l2src.c: In function ‘gst_imx_v4l2src_uri_get_type’:
../src/v4l2src/v4l2src.c:1063:54: warning: unused parameter ‘type’ [-Wunused-parameter]
static GstURIType gst_imx_v4l2src_uri_get_type(GType type)
^
../src/v4l2src/v4l2src.c: In function ‘gst_imx_v4l2src_uri_get_protocols’:
../src/v4l2src/v4l2src.c:1068:69: warning: unused parameter ‘type’ [-Wunused-parameter]
static const gchar *const * gst_imx_v4l2src_uri_get_protocols(GType type)
^
../src/v4l2src/v4l2src.c: In function ‘gst_imx_v4l2src_uri_set_uri’:
../src/v4l2src/v4l2src.c:1086:32: warning: unused parameter ‘error’ [-Wunused-parameter]
const gchar * uri, GError ** error)
^
../src/v4l2src/v4l2src.c: In function ‘gst_imx_v4l2src_uri_handler_init’:
../src/v4l2src/v4l2src.c:1099:73: warning: unused parameter ‘iface_data’ [-Wunused-parameter]
static void gst_imx_v4l2src_uri_handler_init(gpointer g_iface, gpointer iface_data)
^
../src/v4l2src/v4l2src.c: In function ‘gst_imx_v4l2src_af_status_cb’:
../src/v4l2src/v4l2src.c:1364:56: warning: unused parameter ‘clock’ [-Wunused-parameter]
static gboolean gst_imx_v4l2src_af_status_cb(GstClock *clock, GstClockTime time,
^
../src/v4l2src/v4l2src.c:1364:76: warning: unused parameter ‘time’ [-Wunused-parameter]
static gboolean gst_imx_v4l2src_af_status_cb(GstClock *clock, GstClockTime time,
^
../src/v4l2src/v4l2src.c: In function ‘gst_imx_v4l2src_photography_init’:
../src/v4l2src/v4l2src.c:1432:73: warning: unused parameter ‘iface_data’ [-Wunused-parameter]
static void gst_imx_v4l2src_photography_init(gpointer g_iface, gpointer iface_data)
^
[39/49] Compiling src/compositor/gst-backport/gstimxbpvideoaggregator.c
[40/49] Compiling src/compositor/compositor.c
Waf: Leaving directory `/root/gstreamer-imx/build'
Build failed
-> task in 'gstimxv4l2videosrc' failed (exit status 1):
{task 1988745456: c v4l2src.c -> v4l2src.c.1.o}
['/usr/bin/gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-fPIC', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-Isrc/v4l2src', '-I../src/v4l2src', '-I.', '-I..', '-I/usr/include/gstreamer-1.0', '-I/usr/include/glib-2.0', '-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '../src/v4l2src/v4l2src.c', '-c', '-o/root/gstreamer-imx/build/src/v4l2src/v4l2src.c.1.o']
root@linaro-alip:~/gstreamer-imx#
I'm looking for a resolution for "Build failed" issue and how to configure it and compile it correctly?