Subject: Re: kernel compile error
To: Berndt Josef Wulf <wulf@ping.net.au>
From: netbsd alpha <netbsd_alpha@yahoo.com>
List: port-alpha
Date: 10/03/2000 16:49:25
from /usr/src/, i 'make distclean && make includes &&
make depend'. then i redid the kernel config file
based on the main ALPHA file. things worked then.
since the kernel config file changes from time to
time, it would be so nice to make this transition more
automatic instead of redoing based on the main
comprehensive file each time.
--- Berndt Josef Wulf <wulf@ping.net.au> wrote:
> netbsd alpha wrote
> > sup as of 10/1 for DEC Alpha PWS 500au
> >
> > trying to build a new kernel and got this error:
> >
> > cc -O2 -Werror -Wall -Wstrict-prototypes
> > -Wmissing-prototypes -Wpointer-arith
> > -Wno-uninitialize
> > d -Wno-main -mno-fp-regs -I. -I../../../../arch
> > -I../../../.. -nostdinc -DDIAGNOSTIC -DLKM -DMAXU
> > SERS=32 -D_KERNEL -Dalpha -c
> > ../../../../arch/alpha/pci/pci_550.c
> > cc1: warnings being treated as errors
> > ../../../../arch/alpha/pci/pci_550.c: In function
> > `pci_550_pickintr':
> > ../../../../arch/alpha/pci/pci_550.c:140: warning:
> > unused variable `iot'
> > ../../../../arch/alpha/pci/pci_550.c: In function
> > `dec_550_intr_disestablish':
> > ../../../../arch/alpha/pci/pci_550.c:340: warning:
> > unused variable `ccp'
> > *** Error code 1
>
> 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.
>
> Hope this helps
>
> cheerio Berndt
> --
> Name : Berndt Josef Wulf | +++ With
> BSD on Packet Radio +++
> E-Mail : wulf@ping.net.au | tfkiss,
> tnt, dpbox, wampes
> ICQ : 18196098 | VK5ABN,
> Nairne, South Australia
> URL : http://www.ping.net.au/~wulf | MBOX :
> vk5abn@vk5abn.#lmr.#sa.au.oc
> Sysinfo : DEC AXPpci33+, NetBSD-1.4.2 | BBS :
> vk5abn.#lmr.#sa.aus.oc
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/