Subject: Re: Building netbsd-3 fails
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 11/01/2005 18:39:14
In article <20051030114059.GA18648@pasta.cs.uit.no>,
	Feico Dillema <feico@pasta.cs.uit.no> writes:
> With fresh source of branch netbsd-3, build.sh release fails
> with the following error:
> 
> # link  bc/bc
> /usr/obj/tooldir/bin/i386--netbsdelf-gcc -Wl,-nostdlib     -o bc
> -Wl,-rpath-link,/usr/obj/destdir/lib:/usr/obj/destdir/usr/lib
> -L/usr/obj/destdir/lib  -B/usr/obj/destdir/usr/lib/
> -B/usr/obj/destdir/usr/lib/   bc.o execute.o global.o load.o
> main.o number.o scan.o storage.o util.o -ll -ledit -ltermcap
> -L/usr/obj/destdir/usr/lib -L/usr/obj/destdir/usr/lib
> /usr/obj/destdir/lib/libc.so: undefined reference to `_getfsstat'
> /usr/obj/destdir/lib/libc.so: undefined reference to `SYS_statfs'
> collect2: ld returned 1 exit status
> 
> *** Failed target:  bc

Please remove your object directory and restart the build.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/