Bug 107488

Summary: gl.h:2090: error: redefinition of typedef ‘GLeglImageOES’
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: maraeo
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: proposed fix

Description Vinson Lee 2018-08-05 07:52:24 UTC
CC     mesa/main/extensions_table.lo
In file included from ../src/mesa/main/glheader.h:37,
                 from ../src/mesa/main/mtypes.h:41,
                 from ../src/mesa/main/extensions.h:39,
                 from mesa/main/extensions_table.c:26:
../include/GL/gl.h:2090: error: redefinition of typedef ‘GLeglImageOES’
../include/GL/glext.h:6482: note: previous declaration of ‘GLeglImageOES’ was here
Comment 1 Brian Paul 2018-08-06 15:33:33 UTC
Created attachment 140982 [details] [review]
proposed fix

Hmmm, I don't see that issue here.  What is your ./configure command line?

In any case, does the attached patch fix this?
Comment 2 Vinson Lee 2018-08-06 21:30:40 UTC
(In reply to Brian Paul from comment #1)
> Created attachment 140982 [details] [review] [review]
> proposed fix
> 
> Hmmm, I don't see that issue here.  What is your ./configure command line?
> 
> In any case, does the attached patch fix this?

Yes, the attached patch fixes the build error.

Tested-by: Vinson Lee <vlee@freedesktop.org>
Comment 3 Brian Paul 2018-08-08 15:40:07 UTC
Fixed by 6ff4795c622762d6498c73b407070f9c6157878e

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.