gst-plugins-base: build fails: error: unknown type name ‘EGL_DISPMANX_WINDOW_T’
Attempting to build gst-plugins-base-1.18.4.tar.xz.
meson version: 0.56.2
ninja version: 1.10.1
On Raspberry Pi Zero 2 W using:
Linux raspberrypiZ2 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l GNU/Linux
At file 201, this error message appears (I added line numbers, i.e. 333 to the output):
333 FAILED: gst-libs/gst/gl/libgstgl-1.0.so.0.1804.0.p/egl_gstglcontext_egl.c.o
334 cc -Igst-libs/gst/gl/libgstgl-1.0.so.0.1804.0.p -I. -I.. -Igst-libs -I../gst-libs -Isubprojects/gl-headers/abyss -I../subprojects/gl-headers/abyss -Isubprojects/gl-headers/wglext -I../subprojects/gl-headers/wglext -Igst-libs/gst/gl -Igst-libs/gst/video -I/usr/include/gstreamer-1.0 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/orc-0.4 -I/usr/include/interface/vmcs_host/linux -I/usr/include/interface/vcos/pthreads -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -Wno-unused -fPIC -DUSE_VCHIQ_ARM -pthread -DHAVE_CONFIG_H -DUSE_EGL_RPI -DBUILDING_GST_GL -MD -MQ gst-libs/gst/gl/libgstgl-1.0.so.0.1804.0.p/egl_gstglcontext_egl.c.o -MF gst-libs/gst/gl/libgstgl-1.0.so.0.1804.0.p/egl_gstglcontext_egl.c.o.d -o gst-libs/gst/gl/libgstgl-1.0.so.0.1804.0.p/egl_gstglcontext_egl.c.o -c ../gst-libs/gst/gl/egl/gstglcontext_egl.c
335 In file included from ../gst-libs/gst/gl/egl/gstglcontext_egl.c:37:
336 ../gst-libs/gst/gl/egl/gstegl.h:35:9: warning: bad option '-fgnu89-inline' to pragma 'optimize' [-Wpragmas]
337 35 | #pragma GCC optimize ("gnu89-inline")
338 | ^~~
339 In file included from ../gst-libs/gst/gl/egl/gstglcontext_egl.c:52:
340 ../gst-libs/gst/gl/egl/../dispmanx/gstglwindow_dispmanx_egl.h:35:9: warning: bad option '-fgnu89-inline' to pragma 'optimize' [-Wpragmas]
341 35 | #pragma GCC optimize ("gnu89-inline")
342 | ^~~
343 In file included from ../gst-libs/gst/gl/egl/gstglcontext_egl.c:52:
344 ../gst-libs/gst/gl/egl/../dispmanx/gstglwindow_dispmanx_egl.h:66:3: error: unknown type name 'EGL_DISPMANX_WINDOW_T'
345 66 | EGL_DISPMANX_WINDOW_T native;
346 | ^~~~~~~~~~~~~~~~~~~~~
347 ../gst-libs/gst/gl/egl/../dispmanx/gstglwindow_dispmanx_egl.h:67:3: error: unknown type name 'EGL_DISPMANX_WINDOW_T'
348 67 | EGL_DISPMANX_WINDOW_T foreign;
349 | ^~~~~~~~~~~~~~~~~~~~~
350 ninja: build stopped: subcommand failed.
Attached is the output with ANSI codes preserved by "script" and an HTML version with line numbers and coloring preserved.pizero_gstreamer_base_plugins_build_Dec_12_2021.html
Edited by John Laurence Poole