Date: Sun, 12 Mar 2017 17:12:55 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: Emmanuel Vadot <manu@bidouilliste.com> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Build error at dev/extres/clk/clk.c Message-ID: <284029.97176.qm@web101717.mail.ssk.yahoo.co.jp> In-Reply-To: <20170312081536.884534eb48ec7e9b3c813721@bidouilliste.com> References: <355967.78640.qm@web101708.mail.ssk.yahoo.co.jp> <20170312072026.7c2477dbffa8d3cc7f13926f@bidouilliste.com> <20170312081536.884534eb48ec7e9b3c813721@bidouilliste.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <m= anu@bidouilliste.com>=0A> To: Emmanuel Vadot <manu@bidouilliste.com>=0A> Cc= : Mori Hiroki <yamori813@yahoo.co.jp>; "freebsd-mips@freebsd.org" <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 <manu@bidouilliste.com> wrote:=0A> =0A>> =0A>> =A0 Hello,=0A= >> =0A>> On Sun, 12 Mar 2017 13:59:15 +0900 (JST)=0A>> Mori Hiroki <yamor= i813@yahoo.co.jp> 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= <manu@bidouilliste.com> <manu@freebsd.org>=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 <manu@bidouilliste.com> <manu@freebsd.org>=0A>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?284029.97176.qm>