Subject: Re: kernel compile error
To: netbsd alpha <>
From: Berndt Josef Wulf <>
List: port-alpha
Date: 10/04/2000 08:22:28
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

Hope this helps

cheerio Berndt
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  :             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : | MBOX :
Sysinfo : DEC AXPpci33+, NetBSD-1.4.2  | BBS  : vk5abn.#lmr.#sa.aus.oc