[Mesa-dev] [Bug 30205] New: [bisected] mesa fail to build with GLES support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 15 01:51:17 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30205

           Summary: [bisected] mesa fail to build with GLES support
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: high
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: jian.j.zhao at intel.com
                CC: brianp at vmware.com


System Environment:
--------------------------
Platform:   piketon pineview 
Mesa: (master) 7993832c12bba578010005b344dcd3817be84a42

Bug detailed description:
-------------------------
With the newest code in both master branch and 7.9 branch, mesa will fail to
build with gles1 or gles2 enabled with following error message. And I bisected
it and found it was caused by commit 7993832c12bba578010005b344dcd3817be84a42. 

commit 7993832c12bba578010005b344dcd3817be84a42
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Sep 14 09:37:35 2010 -0600

    mesa: update to version 64 of GL/glext.h

    A number of other files had to be updated as well because const
    qualifiers were added to the glMultiDrawArrays() function.
    Also, GL_FIXED is now defined in glext.h.

gcc -c -I../../../include -I../../../src/mapi/es1api -I../../../src/mapi
-I../../../src/mesa -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2
-DHAVE_XEXTPROTO_71 ../../../src/mapi/glapi/glapi_dispatch.c -o
glapi_dispatch.o
In file included from ../../../src/mapi/glapi/glapi_dispatch.c:41:
../../../src/mapi/es1api/glapi/glapitable.h:459: error: expected ‘)’ before ‘x’
../../../src/mapi/es1api/glapi/glapitable.h:460: error: expected ‘;’ before
‘void’
gmake[2]: *** [glapi_dispatch.o] Error 1
gmake[2]: Leaving directory
`/home/GFX_of_64_sdc1/build/component/Mesa/mesa/src/mapi/es1api'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/GFX_of_64_sdc1/build/component/Mesa/mesa/src'
make: *** [default] Error 1

Reproduce steps:
----------------
1. ./autogen --prefix=/opt/X11R7 --enable-gles1 (or --enable-gles2)
2. make

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list