Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2017 08:15:36 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        Mori Hiroki <yamori813@yahoo.co.jp>, "freebsd-mips@freebsd.org" <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Mar 2017 07:20:26 +0100
Emmanuel Vadot <manu@bidouilliste.com> wrote:

>=20
>  Hello,
>=20
> On Sun, 12 Mar 2017 13:59:15 +0900 (JST)
> Mori Hiroki <yamori813@yahoo.co.jp> 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 <manu@bidouilliste.com> <manu@freebsd.org>

 I managed to get a kernel compiling and I've fixed the error on
r315141.

--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



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