error about loading cross-compile lib

loody miloody@gmail.com
Sun Nov 8 03:01:00 GMT 2009


Dear all:
While running a cross-compile gdb on my platform, running on i386, and
target is mips.
when executing it, it will say
"Error while mapping shared library sections:
/lib/libc.so.0: No such file or directory.
warning: .dynamic section for "/lib/libgcc_s.so.1" is not at the
expected address (wrong library or version mismatch?)
Error while mapping shared library sections:
/lib/ld-uClibc.so.0: No such file or directory."
it seems cross-compile gdb cannot find what library I need.
I have set LD_LIBRARY_PATH as the uclibc lib I used in my target
machine but the error still shows up.
Did I miss something or some setting?
appreciate your help,
miloody



More information about the Gdb mailing list