Subject: if_an_pci.c compile error on Sparc64
To: None <current-users@NetBSD.org, port-sparc64@NetBSD.org>
From: MOCHIZUKI Tomomitsu <mochi@thn.ne.jp>
List: current-users
Date: 01/30/2004 00:37:29
Hello,

I am not able to build a GENERIC.MP kernel.

#   compile  GENERIC.MP/if_an_pci.o
/home/cross/sparc64/bin/sparc64--netbsd-gcc -mcmodel=medlow -mno-fpu -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. -I/local/src/NetBSD/sparc64/src/sys/arch -I/local/src/NetBSD/sparc64/src/sys -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -c /local/src/NetBSD/sparc64/src/sys/dev/pci/if_an_pci.c
/local/src/NetBSD/sparc64/src/sys/dev/pci/if_an_pci.c: In function `an_pci_attach':
/local/src/NetBSD/sparc64/src/sys/dev/pci/if_an_pci.c:170: error: incompatible type for argument 1 of `bus_space_unmap'

*** Failed target:  if_an_pci.o


Thanks.


--
;; MOCHIZUKI Tomomitsu