Hisashi T Fujinaka | 1 Mar 2010 23:31

anyone else seeing a wqcurrent-sparc64 build error in the kernel?

#   compile  GENERIC_SUN4U/tda.o
/usr/cross/sparc/bin/sparc--netbsdelf-gcc -mno-fpu -ffreestanding
-fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing -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 -Werror -Wa,-Av8plus -Dsparc64 -D__sparc64__ -m32 -Wa,-Av8plusa -mcpu=ultrasparc
-I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc
-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/sparc/string
-I/usr/src/sys/dist/ipf -I/usr/src/sys/external/isc/ather
 os_hal/dist -I/usr/src/sys/external/isc/atheros_hal/ic -c /usr/src/sys/arch/sparc64/dev/tda.c
cc1: warnings being treated as errors
/usr/src/sys/arch/sparc64/dev/tda.c: In function 'tda_adjust':
/usr/src/sys/arch/sparc64/dev/tda.c:204: warning: format '%lu' expects type 'long unsigned int',
but argument 3 has type 'u_int64_t'
/usr/src/sys/arch/sparc64/dev/tda.c:204: warning: format '%lu' expects type 'long unsigned int',
but argument 4 has type 'u_int64_t'
*** [tda.o] Error code 1

--

-- 
Hisashi T Fujinaka - htodd <at> twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Gmane