Bug 101190 - building gallium/R600 fails due to missing amdgpu.h
Summary: building gallium/R600 fails due to missing amdgpu.h
Status: RESOLVED DUPLICATE of bug 101189
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-25 17:21 UTC by aceman
Modified: 2017-05-26 17:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description aceman 2017-05-25 17:21:12 UTC
Since some days I can't compile Mesa git due to the following error:

 CC       common/common_libamd_common_la-ac_gpu_info.lo
In file included from common/ac_gpu_info.c:26:0:
common/ac_gpu_info.h:31:20: fatal error: amdgpu.h: No such file or directory
compilation terminated.
make[4]: *** [Makefile:936: common/common_libamd_common_la-ac_gpu_info.lo] Error 1
make[4]: Leaving directory 'mesa-git/src/amd'
make[3]: *** [Makefile:738: all] Error 2
make[3]: Leaving directory 'mesa-git/src/amd'
make[2]: *** [Makefile:850: all-recursive] Error 1
make[2]: Leaving directory 'mesa-git/src'
make[1]: *** [Makefile:641: all] Error 2
make[1]: Leaving directory 'mesa-git/src'
make: *** [Makefile:641: all-recursive] Error 1

Build was working fine some 2 weeks ago.

This is strange as I do not want to compile AMDGPU driver, I am compiling r600 (for a rv710 card). I have selected these drivers:
--with-dri-drivers="" --with-gallium-drivers="r600,swrast"

Even if compiling r600 needed amdgpu.h, I do have that in /usr/include/libdrm/amdgpu.h . So it may be just the including does not work right.
Comment 1 Eric Engestrom 2017-05-26 17:14:45 UTC

*** This bug has been marked as a duplicate of bug 101189 ***


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.