[Bug 796821] New: qmlgl: build error: conflicting declaration of GLsync

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


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

            Bug ID: 796821
           Summary: qmlgl: build error: conflicting declaration of GLsync
    Classification: Platform
           Product: GStreamer
           Version: 1.14.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: inigohuguet at hotmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 373073
  --> https://bugzilla.gnome.org/attachment.cgi?id=373073&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.
Installed QT 5.9.2 with support for OpenGLES, XCB, QT Quick, QT multimedia and
QT X11 extras.

Building gst1-plugins-good I get this error log:

In file included from
/home/inigo/Workspaces/linux-a20/repo/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:84:0,
                 from gstqtsink.cc:33:
/home/inigo/Workspaces/linux-a20/repo/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/gstreamer-1.0/gst/gl/glprototypes/gstgl_compat.h:40:18:
error: conflicting declaration ‘typedef void* GLsync’
 typedef gpointer GLsync;
                  ^~~~~~
In file included from
/home/inigo/Workspaces/linux-a20/repo/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qopengl.h:125:0,
                 from
/home/inigo/Workspaces/linux-a20/repo/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qopenglcontext.h:60,
                 from
/home/inigo/Workspaces/linux-a20/repo/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/QOpenGLContext:1,
                 from qtitem.h:30,
                 from gstqtsink.h:28,
                 from gstqtsink.cc:30:
/home/inigo/Workspaces/linux-a20/repo/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qopengles2ext.h:24:26:
nota: previous declaration as ‘typedef struct __GLsync* GLsync’
 typedef struct __GLsync *GLsync;
                          ^~~~~~

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