[Bug 793106] New: conflicting types for ‘GLsync’

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 1 21:41:41 UTC 2018


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

            Bug ID: 793106
           Summary: conflicting types for ‘GLsync’
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ensonic at sonicpulse.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Unlike in https://bugzilla.gnome.org/show_bug.cgi?id=777167 I am still with
autotools. gstreamer core/base/bad of today, os is debian testing


make[3]: Entering directory
'/home/ensonic/projects/gstreamer/gst-plugins-bad/ext/gl'
  CC       libgstopenglmixers_la-gstopengl.lo
In file included from /usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:84:0,
                 from gstglmixer.h:27,
                 from gstglvideomixer.h:24,
                 from gstopengl.c:48:
/usr/include/gstreamer-1.0/gst/gl/glprototypes/gstgl_compat.h:40:18: error:
conflicting types for ‘GLsync’
 typedef gpointer GLsync;
                  ^~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from /usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:68,
                 from gstglmixer.h:27,
                 from gstglvideomixer.h:24,
                 from gstopengl.c:48:
/usr/include/GL/glext.h:1385:26: note: previous declaration of ‘GLsync’ was
here
 typedef struct __GLsync *GLsync;
                          ^~~~~~

Which means the check in gst-plugins-base/m4/gst-gl.m4 GLsync is not defined
and hence defines it. The configure check in base that fails is:

conftest.c: In function 'main':
conftest.c:105:21: error: expected expression before ')' token
 if (sizeof ((GLsync)))
                     ^

The last thing to note, is that those types are conditionally defined in the gl
headers.

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