[Bug 725524] New: error: conflicting types for 'GLDEBUGPROC'

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 2 13:43:17 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725524
  GStreamer | gst-plugins-gl | git

           Summary: error: conflicting types for 'GLDEBUGPROC'
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-gl
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: alexandre at quessy.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=270728)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=270728)
config.h

Overview: Build fails with error.

Build date and platform: 2014-03-02 on Ubuntu 13.10 64-bit. (raring)

Steps to reproduce: 

sudo apt-get install -y \
    libgstreamer-dev \
    libjpeg-dev \
    libgstreamer-plugins-base1.0-dev \
    libgstreamer-plugins-good1.0-dev \
    gtk-doc-tools
./autogen.sh
./configure
make

Here is the error message:

(see below)



Making all in x11
make[5]: Entering directory
`/home/aalex/src/gst-plugins-gl/gst-libs/gst/gl/x11'
  CC       libgstgl_x11_la-gstgldisplay_x11.lo
In file included from /usr/include/GL/gl.h:2085:0,
                 from ../../../../gst-libs/gst/gl/gstglapi.h:44,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29,
                 from gstgldisplay_x11.c:25:
/usr/include/GL/glext.h:2169:26: error: conflicting types for 'GLDEBUGPROC'
 typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint
id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
                          ^
In file included from ../../../../gst-libs/gst/gl/gstglapi.h:31:0,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29,
                 from gstgldisplay_x11.c:25:
/usr/include/GLES2/gl2ext.h:186:28: note: previous declaration of 'GLDEBUGPROC'
was here
 typedef void (GL_APIENTRYP GLDEBUGPROC)(GLenum source,GLenum type,GLuint
id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
                            ^
In file included from /usr/include/GL/gl.h:2085:0,
                 from ../../../../gst-libs/gst/gl/gstglapi.h:44,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29,
                 from gstgldisplay_x11.c:25:
/usr/include/GL/glext.h:2463:25: error: conflicting types for
'PFNGLDEBUGMESSAGECALLBACKPROC'
 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback,
const void *userParam);
                         ^
In file included from ../../../../gst-libs/gst/gl/gstglapi.h:31:0,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29,
                 from gstgldisplay_x11.c:25:
/usr/include/GLES2/gl2ext.h:1083:28: note: previous declaration of
'PFNGLDEBUGMESSAGECALLBACKPROC' was here
 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC
callback, const void *userParam);
                            ^
make[5]: *** [libgstgl_x11_la-gstgldisplay_x11.lo] Error 1
make[5]: Leaving directory `/home/aalex/src/gst-plugins-gl/gst-libs/gst/gl/x11'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/aalex/src/gst-plugins-gl/gst-libs/gst/gl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/aalex/src/gst-plugins-gl/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aalex/src/gst-plugins-gl/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aalex/src/gst-plugins-gl'
make: *** [all] Error 2

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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