After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725524 - error: conflicting types for 'GLDEBUGPROC'
error: conflicting types for 'GLDEBUGPROC'
Status: RESOLVED DUPLICATE of bug 721299
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-02 22:05 UTC by Alexandre Quessy
Modified: 2014-03-03 07:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
config.h (7.48 KB, text/x-chdr)
2014-03-02 22:05 UTC, Alexandre Quessy
Details

Description Alexandre Quessy 2014-03-02 22:05:23 UTC
Created attachment 270728 [details]
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
Comment 1 Matthew Waters (ystreet00) 2014-03-03 07:26:16 UTC

*** This bug has been marked as a duplicate of bug 721299 ***
Comment 2 Matthew Waters (ystreet00) 2014-03-03 07:27:45 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.