Subject: Building current from 2.0.2
To: None <current-users@netbsd.org>
From: Dan McGregor <danismostlikely@gmail.com>
List: current-users
Date: 08/03/2005 20:07:39
Hi.

I was wondering if it's normal to have -current fail to build from
2.0.2?  The command I'm using to build is:  ./build.sh -D
/home/src/destdir.i386 -T  /home/src/tooldir.NetBSD-2.0.2-i386  -U -R
/usr/newrelease distribution


The last bit of the error is this:

#      link  cu/cu
/home/src/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-gcc -Wl,-nostdlib  =
   -o
 cu  -Wl,-rpath-link,/home/src/destdir.i386/lib:/home/src/destdir.i386/usr/=
lib
-L/home/src/destdir.i386/lib  -B/home/src/destdir.i386/usr/lib/ -B/home/src=
/dest
dir.i386/usr/lib/   cu.o prot.o log.o chat.o conn.o copy.o /home/src/gnu/li=
bexec
/uucp/libunix/obj/libunix.a /home/src/gnu/libexec/uucp/libuuconf/obj/libuuc=
onf.a
 /home/src/gnu/libexec/uucp/libuucp/obj/libuucp.a   -L/home/src/destdir.i38=
6/usr
/lib -L/home/src/destdir.i386/usr/lib
/home/src/destdir.i386/lib/libc.so: undefined reference to `getfsstat'
/home/src/destdir.i386/lib/libc.so: undefined reference to `SYS_statfs'
collect2: ld returned 1 exit status

*** Failed target:  cu
*** Failed command: /home/src/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf=
-gcc
-Wl,-nostdlib -o cu -Wl,-rpath-link,/home/src/destdir.i386/lib:/home/src/de=
stdir
.i386/usr/lib -L/home/src/destdir.i386/lib -B/home/src/destdir.i386/usr/lib=
/ -B/
home/src/destdir.i386/usr/lib/ cu.o prot.o log.o chat.o conn.o copy.o /home=
/src/
gnu/libexec/uucp/libunix/obj/libunix.a /home/src/gnu/libexec/uucp/libuuconf=
/obj/
libuuconf.a /home/src/gnu/libexec/uucp/libuucp/obj/libuucp.a -L/home/src/de=
stdir
.i386/usr/lib -L/home/src/destdir.i386/usr/lib
*** Error code 1