Problem compiling landisk kernels
John Klos <[email protected]> Fri, 2 Oct 2009 19:23:21 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.ports.sh3 |
|---|---|
| Message-ID | <[email protected]> |
Hi, I just thought I'd mention that I can't compile netbsd-5 GERNERIC landisk kernels because of this error: --- pci_usrreq.o --- # compile JAGUAR/pci_usrreq.o /usr/tools/bin/shle--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in-bss -Os -freorder-blocks -std=gnu99 -fno-strict-aliasing -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Werror -m4-nofpu -Dlandisk -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DSH7751R -DDONT_INIT_BSC -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/sh3/string -I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pci/pci_usrreq.c --- pci_usrreq.o --- cc1: warnings being treated as errors /usr/src/sys/dev/pci/pci_usrreq.c: In function 'pcimmap': /usr/src/sys/dev/pci/pci_usrreq.c:148: warning: implicit declaration of function 'bus_space_mmap' *** [pci_usrreq.o] Error code 1 1 error nbmake: stopped in /usr/obj/sys/arch/landisk/compile/JAGUAR ERROR: Failed to make all in /usr/obj/sys/arch/landisk/compile/JAGUAR *** BUILD ABORTED *** Switching pci_usrreq.c to version 1.20 seems to make things happy. John Klos