Subject: Failure to compile GENERIC
To: None <current-users@netbsd.org>
From: ober <ober@linbsd.org>
List: port-macppc
Date: 07/25/2006 12:35:45
I get the following failure on the latest current
when cross compiling GENERIC
--- mem.o ---
# compile isac/mem.o
/stuff/src/tooldir.NetBSD-3.99.17-x86_64/bin/powerpc--netbsd-gcc
-mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding
-fno-zero-initialized-in-bss -g -O2 -Wreturn-type -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -fno-strict-aliasing
-Dmacppc=macppc -I. -I/stuff/src/sys/../common/include
-I/stuff/src/sys/arch -I/stuff/src/sys -nostdinc -DLKM -DZS_CONSOLE_ABORT
-DOFB_ENABLE_CACHE -DVERIFIED_EXEC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/stuff/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/stuff/src/sys/lib/libkern/../../../common/lib/libc/string
-I/stuff/src/sys/lib/libkern/../../../common/lib/libc/arch/powerpc/string
-I/stuff/src/sys/dist/pf -I/stuff/src/sys/dist/ipf -c
/stuff/src/sys/arch/powerpc/powerpc/mem.c
/stuff/src/sys/arch/powerpc/powerpc/mem.c: In function 'mmmmap':
/stuff/src/sys/arch/powerpc/powerpc/mem.c:170: error: 'l_cred' undeclared
(first use in this function)
/stuff/src/sys/arch/powerpc/powerpc/mem.c:170: error: (Each undeclared
identifier is reported only once
/stuff/src/sys/arch/powerpc/powerpc/mem.c:170: error: for each function it
appears in.)
*** [mem.o] Error code 1
1 error
nbmake: stopped in /stuff/src/sys/arch/macppc/compile/obj/isac
ERROR: Failed to make all in /stuff/src/sys/arch/macppc/compile/obj/isac
*** BUILD ABORTED ***
Build machine is amd64, and I was able to build .22 fine.
-Ober