Hi All, I am trying to cross compile libsoup and few other opensource libraries for arm on my ubuntu.
I facing an issue while build libsoup. Error: -------------------------------------------------------------------------------- | /bin/grep: /usr/lib/libgobject-2.0.la: No such file or directory | sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory | libtool: link: `/usr/lib/libgobject-2.0.la' is not a valid libtool archive | make[3]: *** [libsoup-2.4.la] Error 1 -------------------------------------------------------------------------------- Versions: -------------------------------------------------------------------------------- libsoup 2.35.90 libsoup libtool (GNU libtool) 2.4 glib 2.29.18 glib libtool (GNU libtool) 2.4.2 -------------------------------------------------------------------------------- The path is specified as "/usr/lib/libgobject-2.0.la" instead of "{sysroot}/usr/lib/libgobject-2.0.la" in libgio-2.0.la ./tmp/sysroots/xxx/usr/lib/libgio-2.0.la:dependency_libs=' /usr/lib/ libgobject-2.0.la /usr/lib/libgthread-2.0.la -lpthread /usr/lib/libffi.la /usr/lib/libgmodule-2.0.la -ldl /usr/lib/libglib-2.0.la -lresolv -L/home/local/......./build/tmp/sysroots/xxx/usr/lib -lz' After some investigation found that Libsoup' libtool is unable to translate the path to sysroot. Found that the patch http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/libtool/libtool/resolve-sysroot.patch?h=bernard could help......but this patch only translated "=*" to "{sysroot/*}" So modified this path slightly to translate "/usr/lib/" and "/lib" to "{sysroot/usr/lib}" and "${sysroot}/lib" respectively. Though this worked for me for now, I am interested in know if there is existing patch which can do this. Thanks in advance -Sravan
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto