Subject: Re: Failure compiling current in uucp
To: tbo <tbo@gmx.de>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 04/30/2004 13:33:41
On Fri, 30 Apr 2004, tbo wrote:

> /usr/obj/tooldir.NetBSD-1.6ZL-i386/bin/i386--netbsdelf-gcc -Wl,-nostdlib
> -o cu
> -Wl,-rpath-link,/usr/obj/destdir.i386/lib:/usr/obj/destdir.i386/usr/lib
> -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 copy.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

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.

Frederick