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

Dâniel Fraga fragabr at gmail.com
Sun Mar 23 14:31:41 PDT 2014


On Sat, 22 Mar 2014 12:12:06 -0600
Brian Paul <brianp at vmware.com> wrote:

> I'm not seeing that.
> 
> Line 3824 of mtypes.h reads:
> 
>     struct gl_debug_namespace 
> Namespaces[MAX_DEBUG_GROUP_STACK_DEPTH][MESA_DEBUG_SOURCE_COUNT][MESA_DEBUG_TYPE_COUNT];

> Can you run 'git grep' in your tree to compare?
> 
> I'd try a git pull to get the latest code.  5f23a2d9c2df7e is from March 
> 4th or so.

	It was based on a old git revision. But a "workaround" for this
is to use:

make CFLAGS=-D__GNU__

	but after that I get another error:

make[3]: Entering directory '/usr/local/src/git/modular/x/mesa/mesa/src/glx'
  CCLD     libGL.la
./.libs/libglx.a(glxcmds.o): In function `glXGetProcAddressARB':
glxcmds.c:(.text+0x9b8): undefined reference to `__indirect_get_proc_address'
./.libs/libglx.a(indirect_init.o): In function `__glXNewIndirectAPI':
indirect_init.c:(.text+0x124): undefined reference to `__indirect_glAccum'
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld: ./.libs/libglx.a(indirect_init.o): relocation R_X86_64_PC32 against undefined hidden symbol `__indirect_glAccum' can not be used when making a shared object
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:692: recipe for target 'libGL.la' failed
make[3]: *** [libGL.la] Error 1
make[3]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/glx'
Makefile:779: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/glx'
Makefile:528: 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:579: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

	Any hints?

-- 
Linux 3.12.14: One Giant Leap for Frogkind
http://www.youtube.com/DanielFragaBR
http://mcxnow.com?r=danielfragabr
Bitcoin: 12H6661yoLDUZaYPdah6urZS5WiXwTAUgL




More information about the mesa-users mailing list