Current-Users archive

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

sparc64 kernel cross-compile build failure (kbd.c)



I think there was something similar recently on macppc.

#   compile  EMILY/kern_core.o
/usr/cross/sparc64/bin/sparc64--netbsd-gcc -mcmodel=medlow -mno-fpu 
-ffreestanding -fno-zero-initialized-in-bss -g -O2 -fno-strict-aliasing 
-std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch 
-Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign 
-Wno-attributes -Wextra -Wno-unused-parameter -Wno-sign-compare 
--sysroot=/usr/src/obj.sparc64/destdir.sparc64 -Dsparc64 -D__sparc64__ -D_LP64 
-Wa,-Av9a -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch 
-I/usr/src/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT 
-std=gnu99 -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/sparc64/string 
-I/usr/src/sys/external/bsd/ipf -I/usr/src/sys/dist/pf -c 
/usr/src/sys/kern/kern_core.c
--- kbd.o ---
cc1: warnings being treated as errors
/usr/src/sys/dev/sun/kbd.c:158:13: error: 'kbd_powerbutton' declared 'static' 
but never defined
*** [kbd.o] Error code 1


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


Home | Main Index | Thread Index | Old Index