clntudp_create error in busybox-1.01
Bridge Wu
mingqiao.wu@gmail.com
Fri Aug 25 02:24:00 GMT 2006
Hello,
I am using busybox-1.01 and met a problem when mounting nfs on ARM linux.
I used the tool chain which consists of gcc-4.1.1, glibc-2.4,
glibc-ports-2.4 and binutils-2.16.92. The glibc-2.4 and
glibc-ports-2.4 are 20060621 snapshot from cvs on sources.redhat.com.
I got them with following command.
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc co libc
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc co ports
But after I built the tool chain with this snapshot, I found the
busybox-1.01 built with it cannot use mount nfs function. The error is
as following.
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.100:/workspace/rootfs on /mnt failed:
Invalid argument
I digged into this issue and found it was clntudp_create returned
NULL. I don't know why this clntudp_create returns wrong value. If I
changed libc-2.4.so with another version (just using glibc-2.4 and
glibc-ports-2.4 release package, not snapshot), all other things are
kept intact, the result is ok. So this can demonstrate it is a libc
issue. Is there anybody aware of this issue?
Also, I am tring to use latest snapshot (20060821) to build a new tool
chain to see if it will solve this issue.
--
best regards,
-Bridge
More information about the Libc-ports
mailing list