Problems while compilation

Zbigniew <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
I wanted to replace somewhat dated Mesa 11 with newest 17.3.3 - I took
it from "Slackware 64 current" to create package - but after longer
compilation time there are errors:

#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" - 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.

What can be wrong? Spent around three 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.

Slackware64 14.2, upgraded LLVM to newest 5.0.1 version (it didn't help).
-- 
regards,
Zbigniew
_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.