Subject: GENERIC kernel couldn't build - 4.99.41
To: None <port-sparc64@NetBSD.org>
From: Ryo Chiba <deadskin_mask@sky.bbexcite.jp>
List: port-sparc64
Date: 12/09/2007 23:32:56
Hello,
I'm building the entire distribution of the sparc64-current snapshot,
but it fails at GENERIC kernel: netbsd_netbsd.o. Is it a bug?
please help me.(All the sources src/xsrc are keeping newest)
My build machine:
/* Athlon64 X2 4800+(2.5GHz; L2=512KB) - 2GB(1+1) DDR2 RAM(Dual Channel)
- Asrock AM2NF3-VSTA M/B - 250GB Seagate SATAII 7200rpm
- Nvidia Riva TNT AGP(4x; 2MB VRAM) - 3.5inch FDD
- USB2.0 x 6 - UltraATA133 x 2 - SATA x 2
- Intel 82557 NIC PCI - SymBios 53c870 SCSI /w Boot Rom
- Texas FireWire TSB12LV26 IEEE 1394 Host Controller
- Serial(9pin; male) - Parallel(25pin; female) - PS/2 Keyboard/Mouse
*/
Command: ./build.sh -j2 -m sparc64 -U tools kernel=GENERIC
Thank you.
--- netbsd32_netbsd.o ---
# compile GENERIC/netbsd32_netbsd.o
/home/amink/NetBSD-build/src/../tools/sparc64/bin/sparc64--netbsd-gcc
-mcmodel=medlow -mno-fpu -ffreestanding -fno-zero-initialized-in-bss -O2
-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
-Wextra -Wno-unused-parameter -fno-strict-aliasing -Dsparc64
-D__sparc64__ -D_LP64 -Wa,-Av9a -I.
-I/home/amink/NetBSD-build/src/sys/contrib/dev/ath/netbsd
-I/home/amink/NetBSD-build/src/sys/../common/include
-I/home/amink/NetBSD-build/src/sys/arch
-I/home/amink/NetBSD-build/src/sys -nostdinc -DLKM -DMAXUSERS=64
-D_KERNEL -D_KERNEL_OPT
-I/home/amink/NetBSD-build/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/home/amink/NetBSD-build/src/sys/lib/libkern/../../../common/lib/libc/string
-I/home/amink/NetBSD-build/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc64/string
-I/home/amink/NetBSD-build/src/sys/dist/ipf -c
/home/amink/NetBSD-build/src/sys/compat/netbsd32/netbsd32_netbsd.c
--- netbsd32_select.o ---
# compile GENERIC/netbsd32_select.o
/home/amink/NetBSD-build/src/../tools/sparc64/bin/sparc64--netbsd-gcc
-mcmodel=medlow -mno-fpu -ffreestanding -fno-zero-initialized-in-bss -O2
-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
-Wextra -Wno-unused-parameter -fno-strict-aliasing -Dsparc64
-D__sparc64__ -D_LP64 -Wa,-Av9a -I.
-I/home/amink/NetBSD-build/src/sys/contrib/dev/ath/netbsd
-I/home/amink/NetBSD-build/src/sys/../common/include
-I/home/amink/NetBSD-build/src/sys/arch
-I/home/amink/NetBSD-build/src/sys -nostdinc -DLKM -DMAXUSERS=64
-D_KERNEL -D_KERNEL_OPT
-I/home/amink/NetBSD-build/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/home/amink/NetBSD-build/src/sys/lib/libkern/../../../common/lib/libc/string
-I/home/amink/NetBSD-build/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc64/string
-I/home/amink/NetBSD-build/src/sys/dist/ipf -c
/home/amink/NetBSD-build/src/sys/compat/netbsd32/netbsd32_select.c
--- netbsd32_netbsd.o ---
/home/amink/NetBSD-build/src/sys/compat/netbsd32/netbsd32_netbsd.c:1259:30:
error: macro "NDINIT" passed 6 arguments, but takes just 5
/home/amink/NetBSD-build/src/sys/compat/netbsd32/netbsd32_netbsd.c: In
function 'netbsd32___getfh30':
/home/amink/NetBSD-build/src/sys/compat/netbsd32/netbsd32_netbsd.c:1258:
error: 'NDINIT' undeclared (first use in this function)
/home/amink/NetBSD-build/src/sys/compat/netbsd32/netbsd32_netbsd.c:1258:
error: (Each undeclared identifier is reported only once
/home/amink/NetBSD-build/src/sys/compat/netbsd32/netbsd32_netbsd.c:1258:
error: for each function it appears in.)
*** [netbsd32_netbsd.o] Error code 1
1 error
nbmake: stopped in
/home/amink/NetBSD-build/obj/sparc64/home/amink/NetBSD-build/src/sys/arch/sparc64/compile/GENERIC
ERROR: Failed to make all in
/home/amink/NetBSD-build/src/../obj/sparc64/home/amink/NetBSD-build/src/sys/arch/sparc64/compile/GENERIC
*** BUILD ABORTED ***