Bug 103320 - Build error with 1.20 release
Summary: Build error with 1.20 release
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-17 22:56 UTC by rezso
Modified: 2018-08-30 10:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.