[Mesa-users] Mesa latest git compilation issue: mtypes.h:3842:4: error: unknown type name 'GLDEBUGPROC'

Dâniel Fraga fragabr at gmail.com
Tue Mar 4 16:45:06 PST 2014


	I'm trying to compile the latest Mesa git
(5f23a2d9c2df7e7b860246be37b495e7fbea76ca) and I get these errors:

make[6]: Entering directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri/common'
  CC       utils.lo
In file included from ../../../../../src/mesa/main/errors.h:47:0,
                 from ../../../../../src/mesa/main/imports.h:41,
                 from ../../../../../src/mesa/main/macros.h:34,
                 from utils.c:35:
../../../../../src/mesa/main/mtypes.h:3842:4: error: unknown type name 'GLDEBUGPROC'
    GLDEBUGPROC Callback;
    ^
In file included from ../../../../../src/mesa/main/imports.h:41:0,
                 from ../../../../../src/mesa/main/macros.h:34,
                 from utils.c:35:
../../../../../src/mesa/main/errors.h:121:28: error: unknown type name 'GLDEBUGPROC'
 _mesa_DebugMessageCallback(GLDEBUGPROC callback,
                            ^
In file included from utils.c:40:0:
dri_util.h:183:9: error: unknown type name '__DRIimageLoaderExtension'
         __DRIimageLoaderExtension *loader;
         ^
dri_util.h:298:1: error: unknown type name '__DRIimageDriverExtension'
 extern const __DRIimageDriverExtension driImageDriverExtension;
 ^
utils.c: In function 'driQueryRendererIntegerCommon':
utils.c:501:9: error: '__DRI2_RENDERER_VERSION' undeclared (first use in this function)
    case __DRI2_RENDERER_VERSION: {
         ^
utils.c:501:9: note: each undeclared identifier is reported only once for each function it appears in
utils.c:523:9: error: '__DRI2_RENDERER_OPENGL_CORE_PROFILE_VERSION' undeclared (first use in this function)
    case __DRI2_RENDERER_OPENGL_CORE_PROFILE_VERSION:
         ^
utils.c:527:9: error: '__DRI2_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION' undeclared (first use in this function)
    case __DRI2_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION:
         ^
utils.c:531:9: error: '__DRI2_RENDERER_OPENGL_ES_PROFILE_VERSION' undeclared (first use in this function)
    case __DRI2_RENDERER_OPENGL_ES_PROFILE_VERSION:
         ^
utils.c:535:9: error: '__DRI2_RENDERER_OPENGL_ES2_PROFILE_VERSION'
undeclared (first use in this function)
    case __DRI2_RENDERER_OPENGL_ES2_PROFILE_VERSION:
         ^
Makefile:670: recipe for target 'utils.lo' failed
make[6]: *** [utils.lo] Error 1
make[6]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri/common'
Makefile:717: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri/common'
Makefile:729: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri'
Makefile:3936: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa'
Makefile:1402: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa'
Makefile:540: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src'
Makefile:591: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

	*********************************************

	Any hints? Thanks.

-- 
Linux 3.12.13: Shuffling Zombie Juror
http://www.youtube.com/DanielFragaBR
http://mcxnow.com?r=danielfragabr
Bitcoin: 12H6661yoLDUZaYPdah6urZS5WiXwTAUgL




More information about the mesa-users mailing list