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

Daniel Vetter daniel at ffwll.ch
Mon May 16 14:43:28 UTC 2016


On Mon, May 16, 2016 at 10:09:55AM -0400, Rob Clark wrote:
> 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)

Hm indeed, stale version of that header. Moving that for OCD reasons was
probably not the best idea, anyway deleted, and it works now without my
patch.
-Daniel

> 
> 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

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the mesa-dev mailing list