From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76577] New: egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in this function) Date: Tue, 25 Mar 2014 00:25:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2145136119==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4891289F5F for ; Mon, 24 Mar 2014 17:25:01 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2145136119== Content-Type: multipart/alternative; boundary="1395707101.Bbffb0.12035"; charset="us-ascii" --1395707101.Bbffb0.12035 Date: Tue, 25 Mar 2014 00:25:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76577 Priority: medium Bug ID: 76577 Assignee: dri-devel@lists.freedesktop.org Summary: egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in this function) Severity: normal Classification: Unclassified OS: All Reporter: fragabr@gmail.com Hardware: Other Status: NEW Version: XOrg CVS Component: General Product: DRI Created attachment 96331 --> https://bugs.freedesktop.org/attachment.cgi?id=96331&action=edit config.log I'm compiling Mesa git with the following configure options: ./configure --prefix=/usr/xorg --libdir=/usr/xorg/lib64 --with-dri-drivers=i965 --with-gallium-drivers="" --enable-texture-float and I get the following error: make[4]: Entering directory '/usr/local/src/git/modular/x/mesa/mesa/src/egl/drivers/dri2' CC egl_dri2.lo In file included from ../../../../src/egl/main/egldriver.h:36:0, from egl_dri2.h:70, from egl_dri2.c:45: ../../../../src/egl/main/eglapi.h:126:90: warning: 'struct wl_resource' declared inside parameter list [enabled by default] typedef EGLBoolean (*QueryWaylandBufferWL_t)(_EGLDriver *drv, _EGLDisplay *displ, struct wl_resource *buffer, EGLint attribute, EGLint *value); ^ ../../../../src/egl/main/eglapi.h:126:90: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] egl_dri2.c: In function 'dri2_setup_screen': egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in this function) disp->ClientAPIs |= EGL_OPENGL_ES3_BIT_KHR; ^ egl_dri2.c:507:27: note: each undeclared identifier is reported only once for each function it appears in egl_dri2.c: In function 'dri2_create_context': egl_dri2.c:811:40: error: 'EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR' undeclared (first use in this function) && dri2_ctx->base.Profile == EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR) ^ egl_dri2.c:860:41: error: 'EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR' undeclared (first use in this function) if ((dri2_ctx->base.Flags & EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR) != 0 ^ egl_dri2.c:870:58: error: 'EGL_NO_RESET_NOTIFICATION_KHR' undeclared (first use in this function) if (dri2_ctx->base.ResetNotificationStrategy != EGL_NO_RESET_NOTIFICATION_KHR) { ^ Makefile:565: recipe for target 'egl_dri2.lo' failed make[4]: *** [egl_dri2.lo] Error 1 make[4]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/egl/drivers/dri2' Makefile:514: 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/egl/drivers' Makefile:512: 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/egl' Makefile:533: 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:584: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 ********************* I attached config.log. Any hints? -- You are receiving this mail because: You are the assignee for the bug. --1395707101.Bbffb0.12035 Date: Tue, 25 Mar 2014 00:25:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 76577
Assignee dri-devel@lists.freedesktop.org
Summary egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in this function)
Severity normal
Classification Unclassified
OS All
Reporter fragabr@gmail.com
Hardware Other
Status NEW
Version XOrg CVS
Component General
Product DRI

Created attachment 96331 [details]
config.log

I'm compiling Mesa git with the following configure options:

./configure --prefix=/usr/xorg --libdir=/usr/xorg/lib64 --with-dri-drivers=i965
--with-gallium-drivers="" --enable-texture-float 

and I get the following error:

make[4]: Entering directory
'/usr/local/src/git/modular/x/mesa/mesa/src/egl/drivers/dri2'
  CC       egl_dri2.lo
In file included from ../../../../src/egl/main/egldriver.h:36:0,
                 from egl_dri2.h:70,
                 from egl_dri2.c:45:
../../../../src/egl/main/eglapi.h:126:90: warning: 'struct wl_resource'
declared inside parameter list [enabled by default]
 typedef EGLBoolean (*QueryWaylandBufferWL_t)(_EGLDriver *drv, _EGLDisplay
*displ, struct wl_resource *buffer, EGLint attribute, EGLint *value);
                                                                               
          ^
../../../../src/egl/main/eglapi.h:126:90: warning: its scope is only this
definition or declaration, which is probably not what you want [enabled by
default]
egl_dri2.c: In function 'dri2_setup_screen':
egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in
this function)
       disp->ClientAPIs |= EGL_OPENGL_ES3_BIT_KHR;
                           ^
egl_dri2.c:507:27: note: each undeclared identifier is reported only once for
each function it appears in
egl_dri2.c: In function 'dri2_create_context':
egl_dri2.c:811:40: error: 'EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR' undeclared
(first use in this function)
           && dri2_ctx->base.Profile ==
EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR)
                                        ^
egl_dri2.c:860:41: error: 'EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR' undeclared
(first use in this function)
             if ((dri2_ctx->base.Flags &
EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR) != 0
                                         ^
egl_dri2.c:870:58: error: 'EGL_NO_RESET_NOTIFICATION_KHR' undeclared (first use
in this function)
          if (dri2_ctx->base.ResetNotificationStrategy !=
EGL_NO_RESET_NOTIFICATION_KHR) {
                                                          ^
Makefile:565: recipe for target 'egl_dri2.lo' failed
make[4]: *** [egl_dri2.lo] Error 1
make[4]: Leaving directory
'/usr/local/src/git/modular/x/mesa/mesa/src/egl/drivers/dri2'
Makefile:514: 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/egl/drivers'
Makefile:512: 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/egl'
Makefile:533: 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:584: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

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

I attached config.log. Any hints?


You are receiving this mail because:
  • You are the assignee for the bug.
--1395707101.Bbffb0.12035-- --===============2145136119== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2145136119==--