GNOME Bugzilla – Bug 725524
error: conflicting types for 'GLDEBUGPROC'
Last modified: 2014-03-03 07:27:45 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
*** This bug has been marked as a duplicate of bug 721299 ***
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.