Subject: Re: Upgraded from 1.3.2 to 1.4 but can't build a new kernel
To: Steven Grunza <steven.grunza@dgms.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 06/07/1999 17:15:18
On Mon, Jun 07, 1999 at 10:12:14AM -0400, Steven Grunza wrote:
> I just upgraded a SS1 from 1.3.2 to 1.4 using the upgrade script but 
> my new kernel build produced:
> 
> cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes 
>  -Wpointer-arith -Wno-main -mno-fpu -I. -I../../../../arch 
> -I../../../.. -nostdinc -DSUN4C -DRASTERCONSOLE -DLKM -DKGDB 
> -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL  -c swapnetbsd.c
> sh ../../../../conf/newvers.sh
> cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes 
>  -Wpointer-arith -Wno-main -mno-fpu -I. -I../../../../arch 
> -I../../../.. -nostdinc -DSUN4C -DRASTERCONSOLE -DLKM -DKGDB 
> -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL  -c vers.c
> ld -Ttext F0004000 -e start -N -p -X -o netbsd ${SYSTEM_OBJ} vers.o
> ../../../../miscfs/umapfs/umap_vnops.c:324: Undefined symbol 
> `_null_bypass' referenced from text segment
> ../../../../miscfs/umapfs/umap_vnops.c:344: Undefined symbol 
> `_null_bypass' referenced from text segment
> ../../../../arch/sparc/dev/kd.c:149: Undefined symbol `_fbrcons_rows' 
> referenced from text segment
> ../../../../arch/sparc/dev/kd.c:150: Undefined symbol `_fbrcons_cols' 
> referenced from text segment
> *** Error code 1
> 
> I did do the make depend so which is better, re-install from scratch 
> (the target drive is mostly empty) or try to debug why the upgrade 
> failed?  This machine needs to go online for development work real 
> soon now....
> 

For the 'null_xxx' you need to either remove UMAPFS or add NULLFS to
your kernel config file.
For the second one, I don't know ... maybe you didn't configure a framebuffer ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--