Make -r world: build failed

Hello guys
I'm trying to build openwrt on MacOS 10.15
So I try "make -j$(nproc) || make -j1 || make -j1 V=s"
and then

make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/Volumes/OpenWrt/openwrt/include/ world] Error 1


In file included from tools/lib/bch.c:1:
./tools/../lib/bch.c:120:12: error: static declaration of 'fls' follows non-static declaration
static int fls(int x)
/Applications/ note: previous
      declaration is here
int      fls(int) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
In file included from tools/lib/bch.c:1:
./tools/../lib/bch.c:273:12: warning: implicit declaration of function 'htobe32' is invalid in C99 [-Wimplicit-function-declaration]
                w = r[0]^cpu_to_be32(*pdata++);
1 warning and 1 error generated.

make[5]: *** [scripts/ tools/lib/bch.o] Error 1

make[4]: *** [Makefile:1519: tools] Error 2

make[4]: Leaving directory '/Volumes/OpenWrt/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_neo2/u-boot-2019.01'

make[3]: *** [Makefile:319: /Volumes/OpenWrt/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_neo2/u-boot-2019.01/.built] Error 2

make[3]: Leaving directory '/Volumes/OpenWrt/openwrt/package/boot/uboot-sunxi'

time: package/boot/uboot-sunxi/nanopi_neo2/compile#0.90#0.80#2.10

make[2]: *** [package/Makefile:113: package/boot/uboot-sunxi/compile] Error 2

make[2]: Leaving directory '/Volumes/OpenWrt/openwrt'

make[1]: *** [package/Makefile:107: /Volumes/OpenWrt/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2

make[1]: Leaving directory '/Volumes/OpenWrt/openwrt'

make: *** [/Volumes/OpenWrt/openwrt/include/ world] Error 2