[Bug 796820] New: opengl: build error: EGLuint64KHR undeclared

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 17 07:12:21 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796820

            Bug ID: 796820
           Summary: opengl: build error: EGLuint64KHR undeclared
    Classification: Platform
           Product: GStreamer
           Version: 1.14.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: inigohuguet at hotmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 373072
  --> https://bugzilla.gnome.org/attachment.cgi?id=373072&action=edit
Proposed patch

Gstreamer version: 1.14.1
OS: Linux on embedded system, built with Buildroot (Kernel 3.4)
Hardware: processor Allwinner A20 (ARM), GPU Mali400MP2
Other relevant info: installed sunxi-mali driver, with OpenGLES - EGL+X11

Building gst1-plugins-base, I get this error log (it's in Spanish, sorry):

gsteglimage.c: En la función ‘gst_egl_image_export_dmabuf’:
gsteglimage.c:483:7: error: nombre de tipo ‘EGLuint64KHR’ desconocido
       EGLuint64KHR * modifiers);
       ^~~~~~~~~~~~
gsteglimage.c:493:3: error: ‘gst_eglExportDMABUFImageQueryMESA’ no se declaró
aquí (primer uso en esta función)
   gst_eglExportDMABUFImageQueryMESA =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:493:3: nota: cada identificador sin declarar se reporta sólo una
vez para cada función en el que aparece
gsteglimage.c:516:8: aviso: declaración implícita de la función
‘gst_eglExportDMABUFImageQueryMESA’ [-Wimplicit-function-declaration]
   if (!gst_eglExportDMABUFImageQueryMESA (egl_display, image->image,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:516:3: aviso: declaración externa anidada de
‘gst_eglExportDMABUFImageQueryMESA’ [-Wnested-externs]
   if (!gst_eglExportDMABUFImageQueryMESA (egl_display, image->image,
   ^~ 

I attach a patch that fix the problem for me, with the solution suggested by
user ystreet00 in the IRC channel. It builds and I have Gstreamer working fine.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list