Subject: Re: Failure compiling current in uucp
To: Frederick Bruckman <fredb@immanent.net>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 05/01/2004 10:43:11
--LZ7ZmEAmJ6juC7Oo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 30, 2004 at 01:33:41PM -0500, Frederick Bruckman wrote:
  | On Fri, 30 Apr 2004, tbo wrote:
  |=20
  | > /usr/obj/tooldir.NetBSD-1.6ZL-i386/bin/i386--netbsdelf-gcc -Wl,-nostd=
lib
  | > -o cu
  | > -Wl,-rpath-link,/usr/obj/destdir.i386/lib:/usr/obj/destdir.i386/usr/l=
ib
  | > -L/usr/obj/destdir.i386/lib  -B/usr/obj/destdir.i386/usr/lib/
  | > -B/usr/obj/destdir.i386/usr/lib/   cu.o prot.o log.o chat.o conn.o co=
py.o
  | > /usr/obj/gnu/libexec/uucp/libunix/libunix.a
  | > /usr/obj/gnu/libexec/uucp/libuuconf/libuuconf.a
  | > /usr/obj/gnu/libexec/uucp/libuucp/libuucp.a
  | > -L/usr/obj/destdir.i386/usr/lib -L/usr/obj/destdir.i386/usr/lib
  | > /usr/obj/destdir.i386/lib/libc.so: undefined reference to `getfsstat'
  | > /usr/obj/destdir.i386/lib/libc.so: undefined reference to `SYS_statfs'
  | > collect2: ld returned 1 exit status
  |=20
  | See "/usr/src/UPDATING". Basicly, you need to clean out
  | "/usr/obj/lib/libc", but it's not a bad idea to clean out "/usr/obj",
  | and start fresh once in a while.

This one one of the rare times that "make cleandir" doesn't fix the
problem.  I got bitten by this myself.  I have considered adding
special CLEAN entries to lib/libc for this particular statfs problem...

--LZ7ZmEAmJ6juC7Oo
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAkvKcpBhtmn8zJHIRAnUIAJ9b8aBad1GjvCgwTYb2ne9f+YtQCQCgt2bQ
HIaLjtO2PeMUgjY2KyHKSU0=
=GXeC
-----END PGP SIGNATURE-----

--LZ7ZmEAmJ6juC7Oo--