Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build failure in uchcom
On Sun, Apr 27, 2008 at 10:28:12PM +0000, Steven M. Bellovin wrote:
> Build failure:
>
> # compile GENERIC/uchcom.o
> /usr/BUILD/tools/bin/x86_64--netbsd-gcc -mcmodel=kernel -mno-red-zone
> -ffreestanding -fno-zero-initialized-in-bss -O2 -fno-omit-frame-pointer
> -std=gnu99 -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 -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 -Werror -Damd64 -Dx86_64 -I.
> -I/usr/src/sys/contrib/dev/ath/netbsd -I/usr/src/sys/../common/include
> -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=64 -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/x86_64/string
> -I/usr/src/sys/dist/ipf -c /usr/sr
> c/sys/dev/usb/uchcom.c
> cc1: warnings being treated as errors
> /usr/src/sys/dev/usb/uchcom.c: In function 'set_line_control':
> /usr/src/sys/dev/usb/uchcom.c:725: warning: declaration of 'lcr2' shadows a
> global declaration
> ./x86/cpufunc.h:66: warning: shadowed declaration is here
> /usr/src/sys/dev/usb/uchcom.c: In function 'reset_chip':
> /usr/src/sys/dev/usb/uchcom.c:793: warning: declaration of 'lcr2' shadows a
> global declaration
> ./x86/cpufunc.h:66: warning: shadowed declaration is here
Fixed now, sorry about that.
Andrew
Home |
Main Index |
Thread Index |
Old Index