[Mesa-dev] [PATCH] nouveau: Make it compile

Rob Clark robdclark at gmail.com
Mon May 16 14:09:55 UTC 2016


I got bit by this too.. since I'm not very good at 'make uninstall'ing
before git-pull && make && make install..

(iirc this header file moved so you could end up with both old and new
headers if you aren't careful)

BR,
-R

On Mon, May 16, 2016 at 10:07 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Because you have a stale libdrm install.
>
> On Mon, May 16, 2016 at 9:52 AM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
>> No idea why, but without this my mesa stopped compiling ...
>>
>> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
>> ---
>>  src/mesa/drivers/dri/nouveau/nouveau_screen.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/src/mesa/drivers/dri/nouveau/nouveau_screen.c b/src/mesa/drivers/dri/nouveau/nouveau_screen.c
>> index 6f61f66f3b01..2961a8b435c0 100644
>> --- a/src/mesa/drivers/dri/nouveau/nouveau_screen.c
>> +++ b/src/mesa/drivers/dri/nouveau/nouveau_screen.c
>> @@ -27,6 +27,7 @@
>>  #include <stdio.h>
>>  #include <xf86drm.h>
>>  #include <nouveau_drm.h>
>> +#include <nouveau/nouveau.h>
>>  #include "nouveau_driver.h"
>>  #include "nouveau_context.h"
>>  #include "nouveau_fbo.h"
>> --
>> 2.8.1
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list