Build error at dev/extres/clk/clk.c
Emmanuel Vadot
manu at bidouilliste.com
Sun Mar 12 06:20:43 UTC 2017
Hello,
On Sun, 12 Mar 2017 13:59:15 +0900 (JST)
Mori Hiroki <yamori813 at yahoo.co.jp> wrote:
> Hi
>
> I hava build error by today's head.
>
> 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/obj//stora
> ge/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp/usr/lib
> -B/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage
> /home/hiroki/freebsd/tmp/usr/lib --sysroot=/storage/home/hiroki/obj//storage/hom
> e/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp -B/storage/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 -nostdinc -I. -I/storage
> /home/hiroki/freebsd/sys -I/storage/home/hiroki/freebsd/sys/contrib/libfdt -D_KE
> RNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-pic -mno-abicalls
> -G0 -DKERNLOADADDR=0x80001000 -march=mips32 -MD -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 -fdiagnostics-show-op
> tion -Wno-unknown-pragmas -Wno-uninitialized -fno-common -fms-extensions -finli
> ne-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000
> --param max-inline-insns-single=1000 -DMACHINE_ARCH='"mipsel"' -std=iso9899:199
> 9 -Werror /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c
> /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c: In function 'clknode_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 undeclar
> ed identifier is reported only once
> /storage/home/hiroki/freebsd/sys/dev/extres/clk/clk.c:572: error: for each funct
> ion it appears in.)
> *** Error code 1
>
> 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
>
> Stop.
> bmake[2]: stopped in /storage/home/hiroki/freebsd
> *** Error code 1
>
> Stop.
> make[1]: stopped in /storage/home/hiroki/freebsd
> *** Error code 1
>
> Stop.
> make: stopped in /storage/home/hiroki/zrouter
>
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at 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).
--
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
More information about the freebsd-mips
mailing list