Subject: Re: autoconf.c in sparc kernel
To: maillist alias for CWW <netbsd@hopf.math.purdue.edu>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-sparc
Date: 09/22/1997 18:23:46
	The compile error is easily fixed by moving the declaration
	of msgbufaddr out one {} and adding an #include <sys/msgbuf.h>,
	but the kernel compiled at that point generates a watchdog
	reset after probing fd0. Dumps back to the prom even if DDB
	compiled in (irritating :)
	I was hoping to look at it tonight but I have to upgrade
	patches on about 50 O2s and generally cause sundry other
	mahem at work, so hopefully someone4 else (with a much better
	chance of actually fixing anything) can have a look...


		David/abs

	-- Whom computers would destroy, they must first drive mad. --

On Mon, 22 Sep 1997, maillist alias for CWW wrote:

> 
> I'm having kernel compile problems with current 1.2G on sparc:
> 
> root@hipx> make
> cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DSUN4 -DSUN4C -DSUN4M -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DINSECURE -DUCONSOLE -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DCOMPAT_SVR4 -DEXEC_ELF32 -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DNFSSERVER -DQUOTA -DFIFO -DINET -DTCP_COMPAT_42 -DGATEWAY -DRASTERCONSOLE -DMAXUSERS=32 -D_KERNEL  -c ../../../../arch/sparc/sparc/autoconf.c
> cc1: warnings being treated as errors
> ../../../../arch/sparc/sparc/autoconf.c: In function `bootstrap':
> ../../../../arch/sparc/sparc/autoconf.c:235: warning: implicit declaration of function `initmsgbuf'
> ../../../../arch/sparc/sparc/autoconf.c:235: `msgbufaddr' undeclared (first use this function)
> ../../../../arch/sparc/sparc/autoconf.c:235: (Each undeclared identifier is reported only once
> ../../../../arch/sparc/sparc/autoconf.c:235: for each function it appears in.)
> ../../../../arch/sparc/sparc/autoconf.c:184: warning: unused variable `msgbufmapped'
> *** Error code 1
> 
> Stop.
> 
> Clarence Wilkerson
>