Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2011 12:10:40 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        freebsd-embedded@FreeBSD.org
Subject:   Re: TP-WR1043: trying NFS root
Message-ID:  <20111128081040.GJ44498@glebius.int.ru>
In-Reply-To: <CAB0AE2F-0BFD-4999-8DEB-3C92C969632E@lassitu.de>
References:  <87527FBF-645E-46F5-A02E-4B62AD648914@lassitu.de> <09F858C3-92A7-4EA7-8745-69F7866AA675@bluezbox.com> <20111128071043.GF44498@glebius.int.ru> <17A73B0C-468D-4BA3-868E-D2E2289A570C@bluezbox.com> <20111128073244.GH44498@glebius.int.ru> <CAB0AE2F-0BFD-4999-8DEB-3C92C969632E@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111128081040.GJ44498>