[Libva] [PATCH] [LIBVA]:Add link option of lpthread for avcenc to fix the DSO issue
yakui.zhao at intel.com
yakui.zhao at intel.com
Wed Aug 1 12:52:56 PDT 2012
From: Zhao Yakui <yakui.zhao at intel.com>
Otherwise it will complain during compiling:
usr/bin/ld: avcenc.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO
Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
test/encode/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/encode/Makefile.am b/test/encode/Makefile.am
index 942c068..94e5edf 100644
--- a/test/encode/Makefile.am
+++ b/test/encode/Makefile.am
@@ -43,7 +43,7 @@ TEST_LIBS = \
h264encode_LDADD = $(TEST_LIBS)
h264encode_SOURCES = h264encode_x11.c
-avcenc_LDADD = $(TEST_LIBS)
+avcenc_LDADD = $(TEST_LIBS) -lpthread
avcenc_SOURCES = avcenc.c
avcenc_DEPENDENCIES = $(libva_helpers)
--
1.7.12-rc1
More information about the Libva
mailing list