failing to compile latest mesa from git

Foinel <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CANdftmMqYCN6gWTr+znaCdOzuG1WCYVmU0McveDYX_cktmNRdg@mail.gmail.com>
Hello,
when trying to build latest mesa-xlib from git I get the following error:

| builtin_function.cpp:15487:2: error: #error builtins profile
140_frag failed to compile
| builtin_function.cpp:15488:2: error: #error builtins profile
140_vert failed to compile
| builtin_function.cpp:16095:2: error: #error builtins profile
OES_EGL_image_external_frag failed to compile
| builtin_function.cpp:16096:2: error: #error builtins profile
OES_EGL_image_external_vert failed to compile
| builtin_function.cpp: In function 'void
_mesa_glsl_initialize_functions(_mesa_glsl_parse_state*)':
| builtin_function.cpp:16264:26: error: 'prototypes_for_140_frag' was
not declared in this scope
| builtin_function.cpp:16265:26: error: 'functions_for_140_frag' was
not declared in this scope
| builtin_function.cpp:16271:26: error: 'prototypes_for_140_vert' was
not declared in this scope
| builtin_function.cpp:16272:26: error: 'functions_for_140_vert' was
not declared in this scope
| builtin_function.cpp:16320:26: error:
'prototypes_for_OES_EGL_image_external_frag' was not declared in this
scope
| builtin_function.cpp:16321:26: error:
'functions_for_OES_EGL_image_external_frag' was not declared in this
scope

As configure options, amongst other options, I have: --enable-glx,
--enable-gles2 --enable-xlib-glx

Any clue to why these are not declared?
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.