[uClibc]Re: gcc 3.2.2 on mipsel
David Wuertele
dave-gnus at bfnet.com
Thu Feb 27 00:45:55 UTC 2003
Erik> I just fixed the problem with the shared library loader on
Erik> mips....
Thanks!
I'm still having trouble. After running today's buildroot with my own
kernel source, then I did the following on my target:
[root at ati-stw /root]# mount -t nfs -o nfsvers=2 10.0.0.158:/nfsroot /mnt/floppy
[root at ati-stw /root]# mount
/dev/root on / type nfs (rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=10.0.0.1)
/proc on /proc type proc (rw)
10.0.0.158:/nfsroot on /mnt/floppy type nfs (rw,v2,rsize=8192,wsize=8192,hard,udp,lock,addr=10.0.0.158)
[root at ati-stw /root]# cd /mnt/floppy/bin
[root at ati-stw bin]# ls -al ./busybox
-rwxr-xr-x 1 500 500 636348 Feb 26 2003 ./busybox
[root at ati-stw bin]# file ./busybox
./busybox: ELF 32-bit LSB mips-1 executable, MIPS R3000_LE [bfd bug], version 1, dynamically linked (uses shared libs), stripped
[root at ati-stw bin]# ./busybox
bash: ./busybox: No such file or directory
[root at ati-stw bin]#
eh? the file seems to be there:
[root at ati-stw bin]# printenv LD_LIBRARY_PATH
/home/roku/targets/bin:/usr/lib:/mnt/floppy/lib
[root at ati-stw bin]# ldd ./busybox
/usr/bin/ldd: ./busybox: No such file or directory
[root at ati-stw bin]# strace ./busybox
execve("./busybox", ["./busybox"], [/* 19 vars */]) = 0
strace: exec: No such file or directory
[root at ati-stw bin]#
ok, let's try moving it:
[root at ati-stw bin]# cp ./busybox ~
[root at ati-stw bin]# cd
[root at ati-stw /root]# ./busybox
bash: ./busybox: No such file or directory
[root at ati-stw /root]# file ./busybox
./busybox: ELF 32-bit LSB mips-1 executable, MIPS R3000_LE [bfd bug], version 1, dynamically linked (uses shared libs), stripped
[root at ati-stw /root]# ./busybox
bash: ./busybox: No such file or directory
[root at ati-stw /root]#
aarg! Any clues?
Dave
More information about the uClibc
mailing list