Le 02/11/2010 05:41, Khem Raj a écrit :
On Mon, Nov 1, 2010 at 2:29 PM, Eric Bénard<[email protected]>  wrote:
else we don't statically link libncurses, libtinfo and libz which leads
to :
/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gdb:
error while loading shared libraries: libtinfo.so.5:
cannot open shared object file: No such file or directory

when trying to use the toolchain.

could you run oe_runconf and then do the Makefile editing ? that way
it will work as expected.
we sort of need oe_runconf

the makefile we hack with sed is not created after oe_runconf, it's generated by oe_runmake configure-host
So what should work is :
oe_runconf
oe_runmake
then sed

Eric


Signed-off-by: Eric Bénard<[email protected]>
---
  recipes/gdb/gdb-cross-sdk.inc |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
index 6a708ca..d32111f 100644
--- a/recipes/gdb/gdb-cross-sdk.inc
+++ b/recipes/gdb/gdb-cross-sdk.inc
@@ -16,5 +16,4 @@ do_configure_append () {
        for SIM in ${B}/sim/*/Makefile; do
                [ -f $SIM ]&&  sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a 
,g' -i $SIM
        done
-       oe_runconf
  }
--
1.6.3.3


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to