From owner-freebsd-mips@freebsd.org Sun Mar 12 06:20:43 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 60027CF9FB1 for ; Sun, 12 Mar 2017 06:20:43 +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 C42171682 for ; Sun, 12 Mar 2017 06:20:42 +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 fd85a7f9; Sun, 12 Mar 2017 07:20:38 +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=ONLgfflEtSm/nlSHo+B26Vjhreo=; b=DdyoTk2bi2JdTQbKtnHbh/Ib8kj1 u+R66MDcPzX7EJG3a4rzSzC4KjsBSDtP0cNtODOq1Q3vnp/AxD7/e9XzvE6TGN2y 51KeQClxpcIxaL7uZ0vVGF3rJuykzqum97IJ3ZM4wyhgEE4C0w3MY2rYteJXPxEG cT+kRyXFmL9miIU= 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=KQHhs52iqQkuwRhAWo6yepjAmFW35VOoxQ7FD7cE1qpNhKDL9NN0uz1F iuzYH5O80fCXoKDXlX2DK9G/Bg3PwHDawnUsMMFJxj4dEkpXJbMszr3qs9uF9flO APTtK+8RXha2HmC218dqF2DTAPGagldAVUjwuiZQsi15bgIMPvs= Received: from knuckles.blih.net (202.238.143.220 [202.238.143.220]) by mail.blih.net (OpenSMTPD) with ESMTPSA id fa54cf70 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 12 Mar 2017 07:20:37 +0100 (CET) Date: Sun, 12 Mar 2017 07:20:26 +0100 From: Emmanuel Vadot To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Subject: Re: Build error at dev/extres/clk/clk.c Message-Id: <20170312072026.7c2477dbffa8d3cc7f13926f@bidouilliste.com> In-Reply-To: <355967.78640.qm@web101708.mail.ssk.yahoo.co.jp> References: <355967.78640.qm@web101708.mail.ssk.yahoo.co.jp> 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 06:20:43 -0000 Hello, On Sun, 12 Mar 2017 13:59:15 +0900 (JST) Mori Hiroki wrote: > Hi >=20 > I hava build error by today's head. >=20 > cc -isystem /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mi= ps.mips > el/storage/home/hiroki/freebsd/tmp/usr/include -L/storage/home/hiroki/obj= //stora > ge/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp/u= sr/lib=A0 > -B/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/= storage > /home/hiroki/freebsd/tmp/usr/lib --sysroot=3D/storage/home/hiroki/obj//st= orage/hom > e/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp -B/stor= age/hom > e/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/h= iroki/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/libfd= t -D_KE > RNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h=A0 -fno-pic -mno-= 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 -Wu= ndef -W > no-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-= show-op > tion -Wno-unknown-pragmas -Wno-uninitialized=A0 -fno-common -fms-extensio= ns -finli > ne-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-g= rowth=3D1000=A0 > --param max-inline-insns-single=3D1000 -DMACHINE_ARCH=3D'"mipsel"'=A0 -st= d=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 'clkno= de_crea > te': > /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c:572: error: 'sysctl= ___cloc > k' undeclared (first use in this function) > /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c:572: error: (Each u= ndeclar > ed identifier is reported only once > /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c:572: error: for eac= h funct > ion it appears in.) > *** Error code 1 >=20 > Stop. > bmake[3]: stopped in /storage/home/hiroki/obj/storage/home/hiroki/zrouter= /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" 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 Emmanuel Vadot