Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
evbppc build fail with ath
Hi! all,
My evbppc(OPENBLOCKS266_OPT) fails to build with this message, because
enabled ath(4) at cardbus.
# create OPENBLOCKS266_OPT/ah_osdep.d
CC=/usr/src/cross/powerpc/bin/powerpc--netbsd-gcc
/usr/src/cross/powerpc/bin/nbmkdep -f ah_osdep.d -- -mcpu=403 -msoft-float
-Wa,-maltivec -ffreestanding -fno-zero-initialized-in-bss -g -O2 -std=gnu99
-Wreturn-type -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 -fno-strict-aliasing -Wreturn-type -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 -D__obs405__ -Devbppc=evbppc -I. -I../../../../../common/include
-I../../../../arch -I../../../.. -nostdinc
-DPPC_INTR_IMPL="<powerpc/ibm4xx/ibm4xx_intr.h>"
-DPPC_PCI_MACHDEP_IMPL="<powerpc/ibm4xx/pci_machdep.h>" -DKERNBASE="0x25000"
-DSPILLSTK="1024" -DDEBUG -DTRAP_PA!
NICWAIT -DEXT2FS_SYSTEM_FLAGS -DEMAC_EVENT_COUNTERS -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/powerpc/string
-I../../../../dist/ipf ../../../../contrib/dev/ath/netbsd/ah_osdep.c
../../../../contrib/dev/ath/netbsd/ah_osdep.c:43:28: error: athhal_options.h:
No such file or directory
In file included from ../../../../contrib/dev/ath/netbsd/ah_osdep.c:61:
../../../../contrib/dev/ath/ah.h:62:22: error: ah_osdep.h: No such file or
directory
nbmkdep: compile failed.
*** Failed target: ah_osdep.d
*** Failed command: CC=/usr/src/cross/powerpc/bin/powerpc--netbsd-gcc
/usr/src/cross/powerpc/bin/nbmkdep -f ah_osdep.d -- -mcpu=403 -msoft-float
-Wa,-maltivec -ffreestanding -fno-zero-initialized-in-bss -g -O2 -std=gnu99
-Wreturn-type -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 -fno-strict-aliasing -Wreturn-type -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 -D__obs405__ -Devbppc=evbppc -I. -I../../../../../common/include
-I../../../../arch -I../../../.. -nostdinc
-DPPC_INTR_IMPL="<powerpc/ibm4xx/ibm4xx_intr.h>"
-DPPC_PCI_MACHDEP_IMPL="<powerpc/ibm4xx/pci_machdep.h>" -DKERNBASE="0x25000"
-DSPILLSTK="1024" -DDEBUG -!
DTRAP_PANICWAIT -DEXT2FS_SYSTEM_FLAGS -DEMAC_EVENT_COUNTERS -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/powerpc/string
-I../../../../dist/ipf ../../../../contrib/dev/ath/netbsd/ah_osdep.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/arch/evbppc/compile/OPENBLOCKS266_OPT
I think we necessary to include sys/contrib/dev/ath/netbsd/Makefile.ath.inc
in sys/arch/powerpc/conf/Makefile.powerpc.
Index: Makefile.powerpc
===================================================================
RCS file: /cvsroot/src/sys/arch/powerpc/conf/Makefile.powerpc,v
retrieving revision 1.40
diff -u -r1.40 Makefile.powerpc
--- Makefile.powerpc 7 Mar 2008 17:10:00 -0000 1.40
+++ Makefile.powerpc 8 Jul 2008 15:23:53 -0000
@@ -113,6 +113,9 @@
%RULES
+## Include rules for Atheros WLAN
+.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"
+
##
## (9) port independent kernel machinery
##
Thanks,
--
kiyohara
Home |
Main Index |
Thread Index |
Old Index