[Intel-gfx] [i-g-t][PATH] debugger: Include path for cairo to fix compiler error
Damien Lespiau
damien.lespiau at intel.com
Thu Feb 28 13:05:38 CET 2013
On Thu, Feb 28, 2013 at 01:37:52PM +0800, Xiang, Haihao wrote:
> From: "Xiang, Haihao" <haihao.xiang at intel.com>
>
> CC eudb.o
> In file included from eudb.c:44:0:
> ../lib/drmtest.h:34:19: fatal error: cairo.h: No such file or directory
> compilation terminated.
> make[3]: *** [eudb.o] Error 1
>
> Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
> ---
> debugger/Makefile.am | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/debugger/Makefile.am b/debugger/Makefile.am
> index d76e2ac..fde6e02 100644
> --- a/debugger/Makefile.am
> +++ b/debugger/Makefile.am
> @@ -11,6 +11,7 @@ AM_CPPFLAGS = \
> AM_CFLAGS = \
> $(DRM_CFLAGS) \
> $(PCIACCESS_CFLAGS) \
> - $(CWARNFLAGS)
> + $(CWARNFLAGS) \
> + $(CAIRO_CFLAGS)
I already have a similar patch in the assembler branch:
http://cgit.freedesktop.org/~damien/intel-gpu-tools/commit/?h=assembler-rebased&id=5e8edce34fe53d02cb923d33152746202247337f
I'm waiting on the fdo admins to get access to the repository to push
the branch, but I guess I'll nag someone to push the branch for me
sooner rather than later.
--
Damien
More information about the Intel-gfx
mailing list