From owner-freebsd-mips@freebsd.org Sun Mar 12 08:16:10 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 7485BD09897 for ; Sun, 12 Mar 2017 08:16:10 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh505-vm11.bullet.mail.kks.yahoo.co.jp (nh505-vm11.bullet.mail.kks.yahoo.co.jp [183.79.57.113]) by mx1.freebsd.org (Postfix) with SMTP id E959F11E8 for ; Sun, 12 Mar 2017 08:16:09 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.138] by nh505.bullet.mail.kks.yahoo.co.jp with NNFMP; 12 Mar 2017 08:12:55 -0000 Received: from [183.79.100.135] by t501.bullet.mail.kks.yahoo.co.jp with NNFMP; 12 Mar 2017 08:12:55 -0000 Received: from [127.0.0.1] by omp504.mail.kks.yahoo.co.jp with NNFMP; 12 Mar 2017 08:12:55 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 548867.24052.bm@omp504.mail.kks.yahoo.co.jp Received: (qmail 1573 invoked by uid 60001); 12 Mar 2017 08:12:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1489306375; bh=+5ICRM8CWP+oq++0cmkuJB9zH1+9ma2n9R+QHTqQlYc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=la3V2xBt9S/PCSwkusGEKgxQHwnlVal/b05Utct/s5zTyvbP+jhX23pRyflBGaTx67Y78tNTFyNDyqjGBp7OBw9DuQVr6NfbgsT122OIupluO8iSUcOSAcbrSrBhm5mBgeXuGUujLcqGwHC6uH+MNLKBq129vh9neCIQXNp00ho= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=B1UDPtu70t1ZegY7NjVmqUu35nI8AUuwAVb/0Ix/MnF7NAsqGAYs2GmjmufEW0vCobrTb0sjRhNHkqeSrWtJPEV47mJu4UZOPody2tdFDF+ObL63jdHb1Unf2vql/jn4WKxyplolxZFyVxSNrqxgq2evKxBninZLQJZydwqBs88=; Message-ID: <284029.97176.qm@web101717.mail.ssk.yahoo.co.jp> X-YMail-OSG: o04q.OoVM1kYKd5hxYx9tMiOvgmRzhU0q0qMk.uoTSIbdb8TkD729CRbKqfZLNAG4i.GCIbHBKGjLsqnUJroYJi26bG5EI.vwaX_8zg8u3cqiXA5RYs2TkWoIVNFP45xgLHCfCoetnRYf.t6WCJ.Lxkzu.RbOz1J07fsAwkujiFAVc1Gzd_m4M4fXwkEnI8E7KAL_sRdz._PPT4_lTfdbsVkloMUVTGbhwjtOsQ7sX9WDB7QGE3G1Omei45I49322GvtJR9XqmiYI85xrA.ZQV._43dw11.eETuX6hq5RTOpOH0FPVouPeMKQEe3MVF3c25S.LFkeg786usT628HrFXLHdStXd7FdQu_zNNMHl_I.W3SBth7UGHj.15nszxL_gnj8zAyWS7S10RNfT7pN8BDxImqVmdVfI2k7mOHvSZKtRlDrePftGpZQ7_sH8km90sUa6_bWim.V_dOlbwDzhwhZxPhp_bTi2rkY.Nt9iIAwkfRhyjAQgnX8dCswlEfK55NKSATQSjfUsvmiaucSqI.1lWVhCbQp_ajTvzRAnSro55WHy_yIZauANzzrcDgSlT8qoEzL8pGPNJqE9JE8cd6T_2.LEYFDADF7Icu4lKmJALekwXXaVSQH5uhcH89EKS92oAzE9ftCEnDcUGAzyAcm0U- Received: from [110.134.192.2] by web101717.mail.ssk.yahoo.co.jp via HTTP; Sun, 12 Mar 2017 17:12:55 JST X-Mailer: YahooMailWebService/0.8.111_70 X-YMail-JAS: PhThHcoVM1mtPmL2FnN4O7sqXYhhDk9R4b93RpsVmh2t8cmvY55mGgMImJ.ZDawFeMwZ.3DAMtUjZj4YkTEZn09TFw8P5wlhIuuVw21E__q4rg40G._htCPCuZBPz2bnfUXD References: <355967.78640.qm@web101708.mail.ssk.yahoo.co.jp> <20170312072026.7c2477dbffa8d3cc7f13926f@bidouilliste.com> <20170312081536.884534eb48ec7e9b3c813721@bidouilliste.com> Date: Sun, 12 Mar 2017 17:12:55 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: Build error at dev/extres/clk/clk.c To: Emmanuel Vadot Cc: "freebsd-mips@freebsd.org" In-Reply-To: <20170312081536.884534eb48ec7e9b3c813721@bidouilliste.com> 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 08:16:10 -0000 Hi=0A=0AThanks for your comment.=0A=0AI can build fine.=0A=0AThanks.=0A=0AH= iroki Mori=0A=0A=0A----- Original Message -----=0A> From: Emmanuel Vadot =0A> To: Emmanuel Vadot =0A> Cc= : Mori Hiroki ; "freebsd-mips@freebsd.org" =0A> Date: 2017/3/12, Sun 16:15=0A> Subject: Re: Build err= or at dev/extres/clk/clk.c=0A> =0A> On Sun, 12 Mar 2017 07:20:26 +0100=0A> = Emmanuel Vadot wrote:=0A> =0A>> =0A>> =A0 Hello,=0A= >> =0A>> On Sun, 12 Mar 2017 13:59:15 +0900 (JST)=0A>> Mori Hiroki wrote:=0A>> =0A>> > Hi=0A>> > =0A>> > I hava build err= or by today's head.=0A>> > =0A>> > cc -isystem =0A> /storage/home/hiroki/= obj//storage/home/hiroki/zrouter/tmp//mips.mips=0A>> > el/storage/home/hir= oki/freebsd/tmp/usr/include =0A> -L/storage/home/hiroki/obj//stora=0A>> > = =0A> ge/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tm= p/usr/lib=A0=0A>> > =0A> -B/storage/home/hiroki/obj//storage/home/hiroki/z= router/tmp//mips.mipsel/storage=0A>> > /home/hiroki/freebsd/tmp/usr/lib = =0A> --sysroot=3D/storage/home/hiroki/obj//storage/hom=0A>> > e/hiroki/zro= uter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp =0A> -B/storage/hom= =0A>> > =0A> e/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/st= orage/home/hiroki/f=0A>> > reebsd/tmp/usr/bin -c -O2 -pipe -fno-strict-ali= asing =A0 -nostdinc=A0 -I. =0A> -I/storage=0A>> > /home/hiroki/freebsd/sys= =0A> -I/storage/home/hiroki/freebsd/sys/contrib/libfdt -D_KE=0A>> > RNEL = -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h=A0 -fno-pic =0A> -mno-ab= icalls=A0=0A>> > -G0 -DKERNLOADADDR=3D0x80001000 -march=3Dmips32 -MD=A0 -M= F.depend.clk.o =0A> -MTclk.o -msof=0A>> > t-float -ffreestanding -fwrapv -= Wall -Wredundant-decls =0A> -Wnested-externs -Wstrict=0A>> > -prototypes -= Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =0A> -Wundef -W=0A= >> > no-pointer-sign -fformat-extensions -Wmissing-include-dirs =0A> -fdia= gnostics-show-op=0A>> > tion -Wno-unknown-pragmas -Wno-uninitialized=A0 -f= no-common =0A> -fms-extensions -finli=0A>> > ne-limit=3D8000 --param inlin= e-unit-growth=3D100 --param =0A> large-function-growth=3D1000=A0=0A>> > --= param max-inline-insns-single=3D1000 =0A> -DMACHINE_ARCH=3D'"mipsel"'=A0 -s= td=3Diso9899:199=0A>> > 9 -Werror=A0 /storage/home/hiroki/freebsd/sys/dev/= extres/clk/clk.c=0A>> > /storage/home/hiroki/freebsd/sys/dev/extres/clk/cl= k.c: In function =0A> 'clknode_crea=0A>> > te':=0A>> > /storage/home/hiro= ki/freebsd/sys/dev/extres/clk/clk.c:572: error: =0A> 'sysctl___cloc=0A>> >= k' undeclared (first use in this function)=0A>> > /storage/home/hiroki/fr= eebsd/sys/dev/extres/clk/clk.c:572: error: =0A> (Each undeclar=0A>> > ed i= dentifier is reported only once=0A>> > /storage/home/hiroki/freebsd/sys/de= v/extres/clk/clk.c:572: error: for =0A> each funct=0A>> > ion it appears i= n.)=0A>> > *** Error code 1=0A>> > =0A>> > Stop.=0A>> > bmake[3]: stopp= ed in =0A> /storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/mi=0A>>= > ps.mipsel/storage/home/hiroki/freebsd/sys/Fon_FON2305E_FDT=0A>> > *** = Error code 1=0A>> > =0A>> > Stop.=0A>> > bmake[2]: stopped in /storage/h= ome/hiroki/freebsd=0A>> > *** Error code 1=0A>> > =0A>> > Stop.=0A>> > = make[1]: stopped in /storage/home/hiroki/freebsd=0A>> > *** Error code 1= =0A>> > =0A>> > Stop.=0A>> > make: stopped in /storage/home/hiroki/zrout= er=0A>> > =0A>> > _______________________________________________=0A>> >= freebsd-mips@freebsd.org mailing list=0A>> > https://lists.freebsd.org/ma= ilman/listinfo/freebsd-mips=0A>> > To unsubscribe, send any mail to =0A> "= freebsd-mips-unsubscribe@freebsd.org"=0A>> =0A>> =A0 The mips kernel config= are using 'device ext_resources' and not=0A>> options EXT_RESOURCES. I do= n't know why and it seems that kernel=0A>> compilation is broken (or maybe= I have the wrong TARGET/TARGET_ARCH).=0A>> =0A>> -- =0A>> Emmanuel Vadot= =0A> =0A> I managed to get a ker= nel compiling and I've fixed the error on=0A> r315141.=0A> =0A> -- =0A> Emm= anuel Vadot =0A>