Bug 103320

Summary: Build error with 1.20 release
Product: DRI Reporter: rezso
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description rezso 2017-10-17 22:56:25 UTC
If I try to compile 1.20 release, I get this error:

igt_x86.c:96:10: error: redefinition of ‘igt_x86_features’
 unsigned igt_x86_features(void)
          ^~~~~~~~~~~~~~~~
In file included from igt_x86.c:38:0:
igt_x86.h:47:24: note: previous definition of ‘igt_x86_features’ was here
 static inline unsigned igt_x86_features(void)
                        ^~~~~~~~~~~~~~~~
igt_x86.c:148:7: error: redefinition of ‘igt_x86_features_to_string’
 char *igt_x86_features_to_string(unsigned features, char *line)
       ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from igt_x86.c:38:0:
igt_x86.h:51:21: note: previous definition of ‘igt_x86_features_to_string’ was here
 static inline char *igt_x86_features_to_string(unsigned features, char *line)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~

How to fix this?
Comment 1 Lakshmi 2018-08-30 10:22:49 UTC
Sorry for the delay...

I assume this issue has been fixed.
Closing now. Feel free to reopen if you still have the issue.

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.