Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

building kernel on i386 fails



Hi,

with -current source updated ca. 5 minutes ago, building an i386 kernel
fails in src/sys/dev/pci/agp.c:

making sure the kern library is up to date...
`libkern.o' is up to date.
    compile  VMwNB99/agp.o
/u/NetBSD/src/sys/dev/pci/agp.c: In function 'agpioctl':
/u/NetBSD/src/sys/dev/pci/agp.c:978: error: duplicate case value
/u/NetBSD/src/sys/dev/pci/agp.c:965: error: previously used here

*** Failed target:  agp.o
*** Failed command: echo ' ' "compile VMwNB99/agp.o" && : echo 
/u/NetBSD/arch/i386/TOOLS/bin/i486--netbsdelf-gcc -pipe -ffreestanding 
-fno-zero-initialized-in-bss -g -O2 -std=gnu99 -fstack-protector 
-Wstack-protector --param ssp-buffer-size=1 -fno-strict-aliasing 
-fstack-protector -Wstack-protector --param ssp-buffer-size=1 -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 
-Wextra -Wno-unused-parameter -Werror -Di386 -I. 
-I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch 
-I/u/NetBSD/src/sys -nostdinc -DMSGBUFSIZE="0x10000" -DMAXUSERS=64 -D_KERNEL 
-D_KERNEL_OPT -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string 
-I/u/NetBSD/src/sys/dist/ipf -I/u/NetBSD/src/sys/../common/include 
-I/u/NetBSD/src/sys/external/intel-public/acpica/dist/include -c 
/u/NetBSD/src/sys/dev/pci/agp.c && 
/u/NetBSD/arch/i386/TOOLS/bin/i486--netbsdelf-gcc -pipe -ffreestanding 
-fno-zero-initialized-in-bss -g -O2 -std=gnu99 -fstack-protector 
-Wstack-protector --param ssp-buffer-size=1 -fno-strict-aliasing 
-fstack-protector -Wstack-protector --param ssp-buffer-size=1 -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 
-Wextra -Wno-unused-parameter -Werror -Di386 -I. 
-I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch 
-I/u/NetBSD/src/sys -nostdinc -DMSGBUFSIZE="0x10000" -DMAXUSERS=64 -D_KERNEL 
-D_KERNEL_OPT -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string 
-I/u/NetBSD/src/sys/dist/ipf -I/u/NetBSD/src/sys/../common/include 
-I/u/NetBSD/src/sys/external/intel-public/acpica/dist/include -c 
/u/NetBSD/src/sys/dev/pci/agp.c && : echo
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/VMwNB99

Kurt


Home | Main Index | Thread Index | Old Index