[Mesa-dev] A request for help with compilation of 17.3.3

Zbigniew zbigniew2011 at gmail.com
Sat Feb 3 13:52:14 UTC 2018


Hello,

from what I see in archives mesa-users seems a bit neglected, and I cannot
expect any reply there anytime soon. Perhaps anyone here could help me?


I wanted to replace somewhat dated Mesa 11 with newest 17.3.3 - so I took
it from "Slackware 64 current" repository to create package, but there are
problems during compilation:

#v+
[..]
Making all in common
make[6]: Entering directory '/var/tmp/mesa-17.3.3/src/mesa/drivers/dri/common'
CC utils.lo
CC dri_util.lo
CC megadriver_stub.lo
In file included from dri_util.h:58:0,
from megadriver_stub.c:25:
../../../../../src/mesa/main/mtypes.h:62:9: error: unknown type name 'GLuint64'
typedef GLuint64 GLbitfield64;
^
../../../../../src/mesa/main/mtypes.h:3752:4: error: unknown type name 'GLuint64'
GLuint64 MaxServerWaitTimeout;
^
../../../../../src/mesa/main/mtypes.h:3882:4: error: unknown type name 'GLuint64'
GLuint64 MaxElementIndex;
^
In file included from ../../../../../src/mesa/main/mtypes.h:4328:0,
from dri_util.h:58,
from megadriver_stub.c:25:
../../../../../src/mesa/main/dd.h:784:31: error: unknown type name 'GLuint64'
GLuint64 *raw_max);
^
../../../../../src/mesa/main/dd.h:865:18: error: unknown type name 'GLuint64'
GLbitfield, GLuint64);
^
../../../../../src/mesa/main/dd.h:867:18: error: unknown type name 'GLuint64'
GLbitfield, GLuint64);
^
../../../../../src/mesa/main/dd.h:1044:4: error: expected specifier-qualifier-list before 'GLuint64'
GLuint64 (*NewTextureHandle)(struct gl_context *ctx,
^
In file included from dri_util.h:58:0,
from megadriver_stub.c:25:
../../../../../src/mesa/main/mtypes.h:4638:4: error: unknown type name 'GLuint64'
GLuint64 handle;
^
../../../../../src/mesa/main/mtypes.h:4644:4: error: unknown type name 'GLuint64'
GLuint64 handle;
^
In file included from dri_util.h:58:0,
from dri_util.c:43:
../../../../../src/mesa/main/mtypes.h:62:9: error: unknown type name 'GLuint64'
typedef GLuint64 GLbitfield64;
^
../../../../../src/mesa/main/mtypes.h:3752:4: error: unknown type name 'GLuint64'
GLuint64 MaxServerWaitTimeout; 
#v-

It's not related to Slackware files. When I simply decompressed the archive
and did compilation attempt via usual "configure make" (with no explicit
parameters given) - the problem is still the same.

I'm unable to fix it. Even more: it turned out that I can't even compile
that older version of Mesa, which I still have installed in my system (so
somehow it has been compiled anyway?). Of course I have in /usr/include
sub-directories GLES, GLES2, GLES3 where are files containing GLuint64-related
definitions - but anyway Mesa package most probably doesn't need them during
compilation having own copy of these, from what I see. If I'm correct it's
exactly Mesa that bring these "includes" into system. So why it doesn't use
them?

What can be wrong? Spent quite a few hours searching - still no conclusion.
Whether older or newer version (tried 4 different versions selected at
random) - it still complains about some "unknow type names", starting with
that GLuint64. If it's missing anything - why it have passed "configure"
stage with no complainings? Here's config.log:  https://jpst.it/1awQX

Slackware64 14.2, LLVM upgraded to newest 5.0.1 version, LibDRM 2.4.89.
-- 
regards,
Zbigniew


More information about the mesa-dev mailing list