Question about the toolchain build

YD ydgoo9 at gmail.com
Thu Jan 28 01:02:54 UTC 2010


Hello, all

I have built a cross compiler for mipsel using the binutils-2.17,
gcc-4.2, uClibc-0.9.29 by myself.
Firsttime I tried it with Buildroot but it has a some problem.

Anyway I built all the tools and I tried to compile hello world c program.
but I could not execute this program on my target board.
And ldd program for target gave me this output.

# ./ldd a.out
ldd: can't open cache 'etc/ld.so.cache'
checking sub-depends for '/lib/libgcc_s.so.1'
checking sub-depends for '/lib/libc.so.0'
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
libc.so.0 => /lib/libc.so.0 (0x00000000)
/lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)

Every library's link address is 0x0,
I don't know why it  happens.

Please give me the help.
Thanks,


More information about the uClibc mailing list