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

next in thread | previous in thread | raw e-mail | index | archive | help

 Hello,

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



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