Port-evbmips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Crosscompiling NetBSD for Fonera not working with HEAD?
I got a old FON2100 from a friend and thought it would be fun to try
runing NetBSD on it.
I searched and found this old thread:
http://mail-index.netbsd.org/port-evbmips/2008/01/23/msg000012.html
So I looked at the Changelog, and HEAD seems to have gotten at least
ath(4) and HAL updated in HEAD.
However, then I crosscompile the MERAKI kernel, it fails due to a
missing file (from HAL i believe):
/usr/src/sys/arch/mips/atheros/ar5315.c:72:75: error: contrib/dev/ath/
ah_soc.h : No such file or directory
nbmkdep: compile failed.
More verbose output below.
#./build.sh -m evbmips-eb kernel=MERAKI
...
# create MERAKI/ar5315.d
CC=/usr/src/tooldir.NetBSD-5.0_RC4-i386/bin/mipseb--netbsd-gcc /usr/
src/tooldir.NetBSD-5.0_RC4-i386/bin/nbmkdep -f ar5315.d -- -G 0 -mno-
abicalls -msoft-float -ffixed-23 -ffreestanding -fno-zero-initialized-
in-bss -g -Os -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 -Devbmips -I. -I/usr/src/sys/../common/include -I/usr/src/
sys/arch -I/usr/src/sys -nostdinc -DMIPS3_ENABLE_CLOCK_INTR -DMIPS32 -
DSOFTFLOAT -DVNODE_OP_NOINLINE -DDIAGNOSTIC -DMAXUSERS=32 -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/mips/string -I/usr/src/
sys/external/isc/atheros_hal/dist -I/usr/src/sys/external/isc/
atheros_hal/ic /usr/src/sys/arch/mips/atheros/ar5315.c
/usr/src/sys/arch/mips/atheros/ar5315.c:72:75: error: contrib/dev/ath/
ah_soc.h: No such file or directory
nbmkdep: compile failed.
*** Failed target: ar5315.d
*** Failed command: CC=/usr/src/tooldir.NetBSD-5.0_RC4-i386/bin/
mipseb--netbsd-gcc /usr/src/tooldir.NetBSD-5.0_RC4-i386/bin/nbmkdep -f
ar5315.d -- -G 0 -mno-abicalls -msoft-float -ffixed-23 -ffreestanding -
fno-zero-initialized-in-bss -g -Os -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 -Devbmips -I. -I/usr/src/sys/../common/
include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -
DMIPS3_ENABLE_CLOCK_INTR -DMIPS32 -DSOFTFLOAT -DVNODE_OP_NOINLINE -
DDIAGNOSTIC -DMAXUSERS=32 -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/mips/string -I/usr/src/sys/
external/isc/atheros_hal/dist -I/usr/src/sys/external/isc/atheros_hal/
ic /usr/src/sys/arch/mips/atheros/ar5315.c
*** Error code 1
Stop.
nbmake: stopped in /usr/obj/sys/arch/evbmips/compile/MERAKI
ERROR: Failed to make depend in "/usr/src/sys/arch/evbmips/compile/obj/
MERAKI"
*** BUILD ABORTED ***
The NetBSD sources are from yesterday. A quick search in the PRs
didn't give me any hit. Is this a known problem, or should I report a
PR on it?
Re,
/P
Home |
Main Index |
Thread Index |
Old Index