Subject: build GENERIC -current on 1.4X shapshot, kd.c
To: None <port-sparc@netbsd.org>
From: Secret Asian Man <cchen@nougat.org>
List: port-sparc
Date: 05/20/2000 19:16:42
Hi... I've been up all night trying to bootstrap up to the latest -CURRENT, and I'm seeing a reoccuring error building kernels.

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch 
-I../../../.. -nostdinc -I../../../../../gnu/sys -DSUN4 -DSUN4C -DSUN4M -DRASTERCONSOLE -DLKM -DMIIVERBOSE -DMAXUSERS=32 -D_KERNEL  
-c ../../../../arch/sparc/dev/kd.c
../../../../arch/sparc/dev/kd.c: In function `consinit':
../../../../arch/sparc/dev/kd.c:687: too few arguments to function `cons_attach_input'
*** Error code 1

This appears to stem from some changes made by eeh (of sparc64 fame) to the cons_attach_input function, but this is where my knowledge of C ends, and my email begins... :(

The notes state that this was to fix a sparc64 console bug, but I have to wonder, if this was to fix sparc64, why was this in the sparc tree? Perhaps I'm being nieve...

any ideas?

cc

-- 
Christopher Kyin-hwa Chen <cchen@nougat.org>
<http://www.nougat.org/~cchen/>
"Surfactant smiles keeps their grades afloat."
-- Daydream on 17 April 1999