From 0569363ca56d23128473b4cee8ee2d588259564f Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn Date: Mon, 4 Aug 2014 07:07:15 +0200 Subject: [PATCH] collada-dom: adding libpcre dependency Executing 'bitbake packagegroup-ros-world' shows the warning: WARNING: QA Issue: collada-dom rdepends on libpcrecpp but its not a build dependency? [build-deps] On a clean build, 'bitbake collada-dom' fails with: | Linking CXX shared library libcollada-dom2.4-dp.so ... | .../build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/4.9.1/ld: external-libs/pcre-8.02/libpcre_local.a(pcre_compile.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC | external-libs/pcre-8.02/libpcre_local.a: error adding symbols: Bad value | collect2: error: ld returned 1 exit status | make[2]: *** [dom/libcollada-dom2.4-dp.so.2.4.0] Error 1 This commits adds libpcre as dependency, and resolves the issue. --- recipes-extended/collada-dom/collada-dom_2.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/collada-dom/collada-dom_2.4.0.bb b/recipes-extended/collada-dom/collada-dom_2.4.0.bb index 1d834e0..d11bf09 100644 --- a/recipes-extended/collada-dom/collada-dom_2.4.0.bb +++ b/recipes-extended/collada-dom/collada-dom_2.4.0.bb @@ -4,7 +4,7 @@ COLLADA XML instance document." LICENSE = "MIT" LIC_FILES_CHKSUM = "file://License_Folder/license_e.txt;md5=33ea5b7341abf67bd9055a229646feae" -DEPENDS = "boost libxml2" +DEPENDS = "boost libxml2 libpcre" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tgz" SRC_URI[md5sum] = "20399de4206eab850c32e65c04e907cb"