Subject: statfs->statvfs troubles.
To: None <current-users@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: current-users
Date: 04/23/2004 14:17:47
--Signature=_Fri__23_Apr_2004_14_17_47_+0200_9MbGSRtG/8kuKa4D
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


Hi,

I was trying to update the userland of my NetBSD-2.0D system, but the build
process always fails here:

#      link  cu/cu
/home/juan/build/tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib     -o cu 
-Wl,-rpath-link,/home/juan/build/destdir/lib:/home/juan/build/destdir/usr/lib 
-L/home/juan/build/destdir/lib  -B/home/juan/build/destdir/usr/lib/
-B/home/juan/build/destdir/usr/lib/   cu.o prot.o log.o chat.o conn.o copy.o
/home/juan/build/obj/gnu/libexec/uucp/libunix/libunix.a
/home/juan/build/obj/gnu/libexec/uucp/libuuconf/libuuconf.a
/home/juan/build/obj/gnu/libexec/uucp/libuucp/libuucp.a  
-L/home/juan/build/destdir/usr/lib
-L/home/juan/build/destdir/usr/lib/home/juan/build/destdir/lib/libc.so:
undefined reference to `getfsstat'/home/juan/build/destdir/lib/libc.so:
undefined reference to `SYS_statfs' collect2: ld returned 1 exit status

I don't have any idea about this... the kernel was built with COMPAT_20. 
DESTDIR was cleaned up before starting build.sh.

Could you please tell me what's wrong? thanks.

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Fri__23_Apr_2004_14_17_47_+0200_9MbGSRtG/8kuKa4D
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAiQlrypkLYVDran0RAqEFAJoD+A2ltuw5BZcbaVWpBEQ8RW5BKQCfRS0U
th7B0Yo87lRNKSAQKB1yeV8=
=rkn2
-----END PGP SIGNATURE-----

--Signature=_Fri__23_Apr_2004_14_17_47_+0200_9MbGSRtG/8kuKa4D--