From owner-freebsd-mips@freebsd.org Sun Mar 12 07:15:45 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34C7FD09AB0 for ; Sun, 12 Mar 2017 07:15:45 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C40771C02 for ; Sun, 12 Mar 2017 07:15:43 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 61f5c23f; Sun, 12 Mar 2017 08:15:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=oOeP4glNdS8YidG/M4lDAzgzLys=; b=eZeRrbUuZ7EJAFG2Q53LF/UJhHov nxVm430gQPTIn0E7Ma7dhCzgxmOU4YpsjWoJil3W53ij1wH6pewMjvFvOV4Zs4wZ Uo5crenKqndbzRNoO83c0xHKiskeR0jNTmYoLyH5lDMI8mKEUo5+nSvtzJ8j0J64 gN1Detnn7Xg3/Cs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=MhNTsBsSwlq4B+6iT0FVA/E+WY+dzV1K1UlXK8iAKEmP8P3KigmoEyU2 C4+QJXAutismxs0tO/BmBIMIQlisaSy5aWlY/mIdiOK4HTRiXJyZ9NYsearTs3Ve osvQ/I+IgkDzAZ4hKyktjDNsVY9b4MVHKBhlZiXNJjgT+wCZOq8= Received: from knuckles.blih.net (202.238.143.220 [202.238.143.220]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 4cd50027 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 12 Mar 2017 08:15:41 +0100 (CET) Date: Sun, 12 Mar 2017 08:15:36 +0100 From: Emmanuel Vadot To: Emmanuel Vadot Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Subject: Re: Build error at dev/extres/clk/clk.c Message-Id: <20170312081536.884534eb48ec7e9b3c813721@bidouilliste.com> In-Reply-To: <20170312072026.7c2477dbffa8d3cc7f13926f@bidouilliste.com> References: <355967.78640.qm@web101708.mail.ssk.yahoo.co.jp> <20170312072026.7c2477dbffa8d3cc7f13926f@bidouilliste.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2017 07:15:45 -0000 On Sun, 12 Mar 2017 07:20:26 +0100 Emmanuel Vadot wrote: >=20 > Hello, >=20 > On Sun, 12 Mar 2017 13:59:15 +0900 (JST) > Mori Hiroki wrote: >=20 > > Hi > >=20 > > I hava build error by today's head. > >=20 > > cc -isystem /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//= mips.mips > > el/storage/home/hiroki/freebsd/tmp/usr/include -L/storage/home/hiroki/o= bj//stora > > ge/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp= /usr/lib=A0 > > -B/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipse= l/storage > > /home/hiroki/freebsd/tmp/usr/lib --sysroot=3D/storage/home/hiroki/obj//= storage/hom > > e/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp -B/st= orage/hom > > e/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/home= /hiroki/f > > reebsd/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing =A0 -nostdinc=A0 -= I. -I/storage > > /home/hiroki/freebsd/sys -I/storage/home/hiroki/freebsd/sys/contrib/lib= fdt -D_KE > > RNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h=A0 -fno-pic -mn= o-abicalls=A0 > > -G0 -DKERNLOADADDR=3D0x80001000 -march=3Dmips32 -MD=A0 -MF.depend.clk.o= -MTclk.o -msof > > t-float -ffreestanding -fwrapv -Wall -Wredundant-decls -Wnested-externs= -Wstrict > > -prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -= Wundef -W > > no-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostic= s-show-op > > tion -Wno-unknown-pragmas -Wno-uninitialized=A0 -fno-common -fms-extens= ions -finli > > ne-limit=3D8000 --param inline-unit-growth=3D100 --param large-function= -growth=3D1000=A0 > > --param max-inline-insns-single=3D1000 -DMACHINE_ARCH=3D'"mipsel"'=A0 -= std=3Diso9899:199 > > 9 -Werror=A0 /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c > > /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c: In function 'clk= node_crea > > te': > > /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c:572: error: 'sysc= tl___cloc > > k' undeclared (first use in this function) > > /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c:572: error: (Each= undeclar > > ed identifier is reported only once > > /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c:572: error: for e= ach funct > > ion it appears in.) > > *** Error code 1 > >=20 > > Stop. > > bmake[3]: stopped in /storage/home/hiroki/obj/storage/home/hiroki/zrout= er/tmp/mi > > ps.mipsel/storage/home/hiroki/freebsd/sys/Fon_FON2305E_FDT > > *** Error code 1 > >=20 > > Stop. > > bmake[2]: stopped in /storage/home/hiroki/freebsd > > *** Error code 1 > >=20 > > Stop. > > make[1]: stopped in /storage/home/hiroki/freebsd > > *** Error code 1 > >=20 > > Stop. > > make: stopped in /storage/home/hiroki/zrouter > >=20 > > _______________________________________________ > > freebsd-mips@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >=20 > The mips kernel config are using 'device ext_resources' and not > options EXT_RESOURCES. I don't know why and it seems that kernel > compilation is broken (or maybe I have the wrong TARGET/TARGET_ARCH). >=20 > --=20 > Emmanuel Vadot I managed to get a kernel compiling and I've fixed the error on r315141. --=20 Emmanuel Vadot