Subject: Re: kernel compile 1.4.2 failed
To: Simon Burge <simonb@NetBSD.ORG>
From: Anders Andersson <anders@sanyusan.se>
List: port-pmax
Date: 04/11/2000 16:52:07
on Ons, Apr 12, 2000 at 12:25:30am +1000, Simon Burge wrote:
> Anders Andersson wrote:
> 
> > Trying to build a custom kernel for 1.4.2
> > 
> > cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-uninitialized -Wpointer-arith -Wno-main -G 0  -mno-abicalls
> > -mno-half-pic -I. -I../../../../arch -I../../../.. -nostdinc -DMIPS1
> > -DLKM -DNKMEMCLUSTERS=1024 -DHZ=256 -DMAXUSERS=64 -D_KERNEL -Dpmax  -c
> > ../../../../arch/pmax/tc/scc.c
> > cc1: warnings being treated as errors
> > ../../../../arch/pmax/tc/scc.c: In function `scc_rxintr':
> > ./../../../arch/pmax/tc/scc.c:1142: warning: unused variable `cp'
> > *** Error code 1
> 
> Change 1142 to be:
> 
> 	#ifdef HAVE_RCONS
> 		char *cp;
> 	#endif
> 
> and it should work for you.  If this works, please let me know and I'll
> get the change pulled up for any further 1.4.x releases.
> 
> Simon.

I will try this and let you know.

I also forgot to say that the box in question is a DECstation 5000/125
with only a serial console attached to it. Got no graphics card or such.

-- 
Anders Andersson		anders@sanyusan.se
Sanyusan International AB	http://www.sanyusan.se/