[Libva] [GST-VAAPI][PATCH] Fix compiling error when using local gst video decoder

Xiang, Haihao haihao.xiang at intel.com
Sun Feb 17 00:28:47 PST 2013


From: "Xiang, Haihao" <haihao.xiang at intel.com>

make[4]: Entering directory `/home/xhh/graphics/ex/gitorious/gstreamer-vaapi/gst-libs/gst/video'
ln -s -f ../../../ext/videoutils/gst-libs/gst/video/gstvideodecoder.h gstvideodecoder.h
ln -s -f ../../../ext/videoutils/gst-libs/gst/video/gstvideodecoder.c gstvideodecoder.c
  CC     libgstvaapi_videoutils_la-gstvideodecoder.lo
In file included from gstvideodecoder.c:297:0:
gstvideodecoder.h:29:37: fatal error: gst/video/gstvideoutils.h: No such file or directory
compilation terminated.
make[4]: *** [libgstvaapi_videoutils_la-gstvideodecoder.lo] Error 1
make[4]: Leaving directory `/home/xhh/graphics/ex/gitorious/gstreamer-vaapi/gst-libs/gst/video'

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
 gst-libs/gst/video/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
index f6504f7..a790e87 100644
--- a/gst-libs/gst/video/Makefile.am
+++ b/gst-libs/gst/video/Makefile.am
@@ -54,7 +54,7 @@ all-local: .timestamp.symlinks
 .timestamp.symlinks: $(GENFILES)
 	touch $@
 
-$(gen_source_c): %.c: $(local_videoutils_srcdir)/%.c %.h
+$(gen_source_c): %.c: $(local_videoutils_srcdir)/%.c $(gen_source_h) 
 	$(LN_S) -f $< $@
 $(gen_source_h): %.h: $(local_videoutils_srcdir)/%.h
 	$(LN_S) -f $< $@
-- 
1.7.9.5



More information about the Libva mailing list