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

Emil Velikov emil.l.velikov at gmail.com
Mon May 16 14:07:54 UTC 2016


On 16 May 2016 at 14:52, 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>

Can you check that both header and libdrm_nouveau.pc are from the same
installation ? Looks like the former is based on libdrm after commit
d1ec093e4c5b08c3825fe07e287aa3d023e9c9ae, while the .pc file if from
before the said patch.

What exactly is the message that you're seeing ? The header is
includes in various other places without the "nouveau/" folder, so...
things look rather strange.

-Emil


More information about the mesa-dev mailing list