Subject: -current build problem
To: None <current-users@netbsd.org>
From: Bill Marquette <billm@danger.ms>
List: current-users
Date: 12/08/1999 06:19:23
I've been trying rather unsuccessfully for the last week or so to get
-current to build on my system.  I recently had a file system corruption
due to X hard locking the entire machine (never tracked down what caused
it).  For the most part the system seemed to weather the corruption pretty
well, but I figured I'd rebuild world just to be safe (the last sup/make
had been Nov 23th I believe).  Since that day I've been unable to get
anything to run that links the new libc that gets created.

I've also tried untarring the 11-13 binary release into / and building
using those binaries thinking that maybe I'd managed to corrupt something
worse.  That ummm...didn't help to say the least.  Currently I'm building
with: 
	OBJMACHINE=YES
	MKOBJ=YES
	MKOBJDIRS=YES
	BSDSRCDIR=/usr/src
	BSDOBJDIR=/usr/obj
	CRYPTOBASE=domestic
	DESTDIR=/usr/build
in /etc/mk.conf and a few others that I only added in to help build
packages as needed.

This is on an amd k6/2-400.  It ALWAYS dies in the same place (w/ or w/out
the above defined).

Any help would be appreciated. 

--Bill

cc  -static -o csh -nostdlib -L/usr/build/usr/lib
/usr/build/usr/lib/crt0.o /usr/build/usr/lib/crtbegin.o alloc.o char.o
const.o csh.o dir.o dol.o err.o exec.o exp.o file.o func.o glob.o hist.o
init.o lex.o misc.o parse.o printf.o proc.o sem.o set.o str.o strpct.o
time.o  -lgcc -lc -lgcc /usr/build/usr/lib/crtend.o
/usr/build/usr/lib/libc.a(nsdispatch.o): In function `_nsdbtget':
nsdispatch.o(.text+0x278): undefined reference to `_nsyyin'
nsdispatch.o(.text+0x28f): undefined reference to `_nsyyin'
/usr/build/usr/lib/libc.a(nsparser.o)(.text+0xb): undefined reference to
`_nsyylineno'
/usr/build/usr/lib/libc.a(nsparser.o)(.text+0x10): undefined reference to
`_nsyytext'
/usr/build/usr/lib/libc.a(nsparser.o): In function `_nsyyparse':
nsparser.o(.text+0x202): undefined reference to `_nsyylex'
nsparser.o(.text+0x30b): undefined reference to `_nsyyerror'
nsparser.o(.text+0x472): undefined reference to `_nsyylineno'
nsparser.o(.text+0x477): undefined reference to `_nsyytext'
nsparser.o(.text+0x5d6): undefined reference to `_nsyylex'
nsparser.o(.text+0x686): undefined reference to `_nsyyerror'
collect2: ld returned 1 exit status