Subject: Kernel build error in kern/kern_resource.c
To: MacBSD List <port-mac68k@NetBSD.ORG>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: port-mac68k
Date: 12/19/1996 17:47:43
Well, from this morning's (12/19) sup, I got the following error while
trying to build me a new kernel. I think I saw something about this kind
of error a couple days ago, but it's still there. Was it a gcc bug? Is
it gonna be fixed (or worked around soon)?
cc -m68030 -O -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
-msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c"
-DEXEC_AOUT -DEXEC_SCRIPT -DSWAPPAGER -DVNODEPAGER -DDEVPAGER
-DDIAGNOSTIC -DKTRACE -DGDB -DFIFO -DDDB -DFFS -DQUOTA -DNFSSERVER
-DNFSCLIENT -DLKM -DSCSI -DINET -DTCP_COMPAT_42 -DGATEWAY -DCOMPAT_42
-DCOMPAT_43 -DNS -DMAPMEM -DSYSVSHM -DSYSVSEM -DSYSVMSG -DPPP_BSDCOMP
-DPPP_DEFLATE -DNTP -DM68030 -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10
-DCOMPAT_11 -DCOMPAT_12 -DZS_CONSOLE_ABORT -DDISABLE_EXT_CACHE
-DNCR_PIO_WRITE="0x10" -DMAXUSERS=16 -D_KERNEL -Dmc68020 -Dmac68k -c
../../../../kern/kern_resource.c
cc1: warnings being treated as errors
../../../../kern/kern_resource.c: In function `calcru':
../../../../kern/kern_resource.c:340: warning: `u' might be used
uninitialized in this function
*** Error code 1
Stop.