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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 27 06:16:59 UTC 2018


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

Gianfranco Costamagna <costamagnagianfranco at yahoo.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |costamagnagianfranco at yahoo.
                   |                            |it

--- Comment #3 from Gianfranco Costamagna <costamagnagianfranco at yahoo.it> ---
This change broke Ubuntu arm* builds, where GLES is enabled.
https://launchpad.net/ubuntu/+source/gst-plugins-good1.0/1.14.2-1ubuntu1/+build/15163587
I'opening a new issue to track the failure.

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time
-D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gstreamer-1.0
-I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include
-pthread -I/usr/include/gstreamer-1.0
-I/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/include -I/usr/include/libdrm
-I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I../../gst-libs -pthread
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DGST_USE_UNSTABLE_API
-fno-strict-aliasing -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall
-Wmissing-declarations -Wredundant-decls -Wwrite-strings -Winit-self
-Wmissing-include-dirs -Waddress -Wno-multichar -g -fvisibility=hidden
-DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-I/usr/include/arm-linux-gnueabihf/qt5/QtQuick
-I/usr/include/arm-linux-gnueabihf/qt5
-I/usr/include/arm-linux-gnueabihf/qt5/QtGui
-I/usr/include/arm-linux-gnueabihf/qt5
-I/usr/include/arm-linux-gnueabihf/qt5/QtQml
-I/usr/include/arm-linux-gnueabihf/qt5
-I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork
-I/usr/include/arm-linux-gnueabihf/qt5
-I/usr/include/arm-linux-gnueabihf/qt5/QtCore
-I/usr/include/arm-linux-gnueabihf/qt5 -DQT_X11EXTRAS_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtX11Extras
-I/usr/include/arm-linux-gnueabihf/qt5
-I/usr/include/arm-linux-gnueabihf/qt5/QtGui
-I/usr/include/arm-linux-gnueabihf/qt5
-I/usr/include/arm-linux-gnueabihf/qt5/QtCore
-I/usr/include/arm-linux-gnueabihf/qt5 -std=c++11 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-error -c gstplugin.cc  -fPIC -DPIC -o
.libs/libgstqmlgl_la-gstplugin.o
In file included from gstqtsink.cc:33:
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:17: error: expected
identifier before ‘*’ token
   ret (GSTGLAPI *name) args;
                 ^
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:27:1: note: in expansion
of macro ‘GST_GL_EXT_FUNCTION’
 GST_GL_EXT_FUNCTION (GLsync, FenceSync,
 ^~~~~~~~~~~~~~~~~~~
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:29:39: error: ISO C++
forbids declaration of ‘GLsync’ with no type [-fpermissive]
                       GLbitfield flags))
                                       ^
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:24: note: in definition of
macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:29:39: error: ‘GLsync’
declared as function returning a function
                       GLbitfield flags))
                                       ^
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:24: note: in definition of
macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:31:23: error: ‘GLsync’
has not been declared
                      (GLsync sync))
                       ^~~~~~
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:24: note: in definition of
macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:33:23: error: ‘GLsync’
has not been declared
                      (GLsync sync))
                       ^~~~~~
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:24: note: in definition of
macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:35:23: error: ‘GLsync’
has not been declared
                      (GLsync sync,
                       ^~~~~~
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:24: note: in definition of
macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:39:23: error: ‘GLsync’
has not been declared
                      (GLsync sync,
                       ^~~~~~
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:24: note: in definition of
macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~
/usr/include/gstreamer-1.0/gst/gl/glprototypes/sync.h:43:23: error: ‘GLsync’
has not been declared
                      (GLsync sync,
                       ^~~~~~
/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:93:24: note: in definition of
macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~
gstqtsink.cc: In function ‘gboolean
gst_qt_sink_propose_allocation(GstBaseSink*, GstQuery*)’:
gstqtsink.cc:472:36: error: ‘GstGLFuncs’ {aka ‘struct _GstGLFuncs’} has no
member named ‘FenceSync’; did you mean ‘DeleteSync’?
   if (qt_sink->context->gl_vtable->FenceSync)
                                    ^~~~~~~~~
                                    DeleteSync

-- 
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