TP-WR1043: trying NFS root
Gleb Smirnoff
glebius at FreeBSD.org
Mon Nov 28 08:10:48 UTC 2011
On Mon, Nov 28, 2011 at 08:40:46AM +0100, Stefan Bethke wrote:
S> Am 28.11.2011 um 08:32 schrieb Gleb Smirnoff:
S>
S> > Can you please obtain backtrace to determine which codepath causes error. Patch
S> > attached.
S>
S> Without the patch and on r228049, I can't build the kernel anymore, even from an empty obj.
S>
S> stb at diesel:~/working/tp-wr1043/src$ ../build/build/bin/build tl-wr1043nd buildkernel
S> ...
S> cc -c -O -pipe -march=mips32 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/home/stb/working/tp-wr1043/src/sys -I/home/stb/working/tp-wr1043/src/sys/contrib/altq -I/home/stb/working/tp-wr1043/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -march=mips32 -msoft-float -ffreestanding -Werror /home/stb/working/tp-wr1043/src/sys/mips/atheros/uart_bus_ar71xx.c
S> cc1: warnings being treated as errors
S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c: In function 'arge_flush_ddr':
S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:195: warning: implicit declaration of function 'ar71xx_device_flush_ddr_ge0'
S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:195: warning: nested extern declaration of 'ar71xx_device_flush_ddr_ge0' [-Wnested-externs]
S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:197: warning: implicit declaration of function 'ar71xx_device_flush_ddr_ge1'
S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:197: warning: nested extern declaration of 'ar71xx_device_flush_ddr_ge1' [-Wnested-externs]
S> *** Error code 1
S> 1 error
S> *** Error code 2
S> 1 error
S> *** Error code 2
S> 1 error
I have just fixed this. Please try r228050.
--
Totus tuus, Glebius.
More information about the freebsd-embedded
mailing list