Subject: Re: kernel compile error
To: David Brownlee <abs@netbsd.org>
From: netbsd alpha <netbsd_alpha@yahoo.com>
List: port-alpha
Date: 10/05/2000 21:35:57
--- David Brownlee <abs@netbsd.org> wrote:
> 	Was that without DEC_AXPPCI_33 in your config file?
> 

yes that was with out DEC_AXPPCI_33 

>                 David/absolute
> 			       -- www.netbsd.org: A pmap for every
> occasion --
> 
> 
> On Thu, 5 Oct 2000, netbsd alpha wrote:
> 
> > i did:
> >
> > (cd /usr/src/ && make distclean && make includes
> &&
> > make depend) before doing the kernel. that worked
> fine
> > and ididn't get that error anymore. i didn't use
> your
> > patch though.
> >
> > --- David Brownlee <abs@netbsd.org> wrote:
> > > On Wed, 4 Oct 2000, Berndt Josef Wulf wrote:
> > >
> > > > Not quite sure but you may try to add the
> > > following line into your
> > > > configuration file:
> > > >
> > > > options         DEC_AXPPCI_33   # NoName:
> > > AXPpci33, etc.
> > > >
> > > > The above warnings are generated because
> variables
> > > iot and cpp are
> > > > not used in the code due to NSIO not being
> > > defined.
> > > >
> > > > NSIO gets defined in alpha/dec_axppci_33.c and
> > > hence I've never seen
> > > > this problem personally. I'm not sure about
> its
> > > purpose, but it
> > > > doesn't hurt to enable support for more than
> one
> > > hardware platform, it only
> > > > increases the size of the kernel somewhat.
> Perhaps
> > > one of the more
> > > > experienced members on this list may be able
> to
> > > enlighten us on this
> > > > issue.
> > >
> > > 	Its a small oversight - without DEC_AXPPCI_33
> > > support there are
> > > 	a couple of variables defined but not used.
> Since
> > > NetBSD compiles
> > > 	with every warning under the sun enabled as
> errors,
> > > it stop.
> > >
> > > 	Could you let me know if the following (trivial
> :)
> > > patch fixes
> > > 	it for you?
> > >
> > >                 David/absolute
> > > 			       -- www.netbsd.org: A pmap for every
> > > occasion --
> > >
> > >
> > >
> > > > --- pci/pci_550.c	Thu Jun 29 17:13:05 2000
> > > +++ new	Thu Oct  5 08:39:51 2000
> > > @@ -137,7 +137,9 @@
> > >  pci_550_pickintr(ccp)
> > >  	struct cia_config *ccp;
> > >  {
> > > +#if NSIO
> > >  	bus_space_tag_t iot = &ccp->cc_iot;
> > > +#endif
> > >  	pci_chipset_tag_t pc = &ccp->cc_pc;
> > >  	char *cp;
> > >  	int i;
> > > @@ -337,7 +339,9 @@
> > >  dec_550_intr_disestablish(ccv, cookie)
> > >          void *ccv, *cookie;
> > >  {
> > > +#if NSIO
> > >  	struct cia_config *ccp = ccv;
> > > +#endif
> > >  	struct alpha_shared_intrhand *ih = cookie;
> > >  	unsigned int irq = ih->ih_num;
> > >  	int s;
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos - 35mm Quality Prints, Now Get 15
> Free!
> > http://photos.yahoo.com/
> >
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/