[Mesa-dev] [PATCH 1/2] drm.h: Include libdrm headers

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 13 14:19:39 UTC 2017


On 13 March 2017 at 13:32, Fabio Estevam <festevam at gmail.com> wrote:
> Include <libdrm/drm.h> and <libdrm/drm_mode.h> headers to avoid
> the following build errors on sparc64:
>
Does this issue happen with x86 as well ?

> http://autobuild.buildroot.net/results/d7e/d7e82c67e0b04b0aea990bfb19dd6e4fd914bebe/build-end.log
>

Afaict we have two possible reasons for this:
 - the libdrm package is broken and does not install the files
 - local drm.h/foo gets picked over the libdrm ones
Possible solutions - use "foo" instead of <foo> in the xf86* headers,
rename the local header.

Whichever the solution you do _not_ want the below patch.

I've just pushed a couple of small patches which should with the patch
submission.

-Emil


More information about the mesa-dev mailing list