Skip to contentSkip to conversation

debugger: Include path for cairo to fix compiler error

i-g-t Xiang, Haihao 2 participants 2 messages Feb 28, 2013

lore
Share & tools
lore
#0 lore raw

From: "Xiang, Haihao" <[email protected]>

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

---
 debugger/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
debugger/Makefile.am +2 -1
index d76e2ac..fde6e02 100644
@@ -11,6 +11,7 @@ AM_CPPFLAGS = 			\
 AM_CFLAGS = 			\
 	$(DRM_CFLAGS) 		\
 	$(PCIACCESS_CFLAGS) 	\
-	$(CWARNFLAGS)
+	$(CWARNFLAGS)		\
+	$(CAIRO_CFLAGS)
 
 LDADD = $(top_builddir)/lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS)
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 18 lines · Haihao

From: "Xiang, Haihao" <[email protected]>

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

---
 debugger/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
debugger/Makefile.am +0 -0
index d76e2ac..fde6e02 100644

debugger/Makefile.am AM_CPPFLAGS = \ · line 15

Quoted 6 lines
debugger/Makefile.am +2 -1
@@ -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.

Signature · 1 line
Damien