Subject: current build warning/failure on if_re_pci.c
To: None <port-macppc@netbsd.org>
From: Chris Tribo <ctribo@college.dtcc.edu>
List: port-macppc
Date: 01/21/2005 23:06:10
I just built a full release for i386 from the same sources so this is
either macppc specific or triggered by cross compiling strangeness, or my
tree is insane.

#   compile  GENERIC/if_re_pci.o
/usr/src/obj/tooldir.NetBSD-2.99.14-i386/bin/powerpc--netbsd-gcc
-msoft-float -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Dmacppc=macppc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM
-DDIAGNOSTIC -DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pci/if_re_pci.c
In file included from machine/bus.h:74,
                 from /usr/src/sys/dev/pci/if_re_pci.c:53:
machine/autoconf.h:59: warning: `struct clockframe' declared inside
parameter list
machine/autoconf.h:59: warning: its scope is only this definition or
declaration, which is probably not what you want

*** Failed target:  if_re_pci.o
*** Failed command: echo '# ' "compile GENERIC/if_re_pci.o"; echo
/usr/src/obj/tooldir.NetBSD-2.99.14-i386/bin/powerpc--netbsd-gcc
-msoft-float -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Dmacppc=macppc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM
-DDIAGNOSTIC -DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pci/if_re_pci.c;
/usr/src/obj/tooldir.NetBSD-2.99.14-i386/bin/powerpc--netbsd-gcc
-msoft-float -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Dmacppc=macppc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM
-DDIAGNOSTIC -DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pci/if_re_pci.c
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/sys/arch/macppc/compile/GENERIC

ERROR: Failed to make all in /usr/src/sys/arch/macppc/compile/obj/GENERIC
*** BUILD ABORTED ***


-- 
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
						-- Arno Schaefer