make tools/mtd-utils/{clean,compile} -j 1 V=s WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist make[2]: Entering directory '/Volumes/x64/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/Volumes/x64/openwrt/scripts/config' make[1]: Entering directory '/Volumes/x64/openwrt' make[2]: Entering directory '/Volumes/x64/openwrt/tools/mtd-utils' rm -rf /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0 /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0/.built rm -f /Volumes/x64/openwrt/staging_dir/host/bin/{mkfs.jffs2,mkfs.ubifs,ubinize} rm -rf /Volumes/x64/openwrt/staging_dir/host/stamp/.mtd-utils_installed make[2]: Leaving directory '/Volumes/x64/openwrt/tools/mtd-utils' time: tools/mtd-utils/clean#0.17#0.18#0.35 make[1]: Leaving directory '/Volumes/x64/openwrt' WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist make[2]: Entering directory '/Volumes/x64/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/Volumes/x64/openwrt/scripts/config' make[1]: Entering directory '/Volumes/x64/openwrt' + mkdir -p /Volumes/x64/openwrt/staging_dir/target-x86_64_musl + cd /Volumes/x64/openwrt/staging_dir/target-x86_64_musl + mkdir -p bin lib stamp usr/include usr/lib mkdir -p /Volumes/x64/openwrt/build_dir/target-x86_64_musl/stamp touch /Volumes/x64/openwrt/staging_dir/target-x86_64_musl/.prepared + mkdir -p /Volumes/x64/openwrt/staging_dir/host + cd /Volumes/x64/openwrt/staging_dir/host + mkdir -p bin lib stamp usr/include usr/lib mkdir -p /Volumes/x64/openwrt/build_dir/host/stamp /Volumes/x64/openwrt/staging_dir/host/include/sys install -m0644 /Volumes/x64/openwrt/tools/include/*.h /Volumes/x64/openwrt/staging_dir/host/include/ install -m0644 /Volumes/x64/openwrt/tools/include/sys/*.h /Volumes/x64/openwrt/staging_dir/host/include/sys/ mkdir -p /Volumes/x64/openwrt/staging_dir/host/include/asm install -m0644 /Volumes/x64/openwrt/tools/include/asm/*.h /Volumes/x64/openwrt/staging_dir/host/include/asm/ ln -snf lib /Volumes/x64/openwrt/staging_dir/host/lib64 touch /Volumes/x64/openwrt/staging_dir/host/.prepared make[2]: Entering directory '/Volumes/x64/openwrt/tools/libdeflate' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/libdeflate' time: tools/libdeflate/compile#0.18#0.16#0.35 make[2]: Entering directory '/Volumes/x64/openwrt/tools/zstd' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/zstd' time: tools/zstd/compile#0.19#0.17#0.36 make[2]: Entering directory '/Volumes/x64/openwrt/tools/flock' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/flock' time: tools/flock/compile#0.17#0.15#0.32 make[2]: Entering directory '/Volumes/x64/openwrt/tools/sed' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/sed' time: tools/sed/compile#0.19#0.17#0.36 make[2]: Entering directory '/Volumes/x64/openwrt/tools/patch' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/patch' time: tools/patch/compile#0.18#0.16#0.34 make[2]: Entering directory '/Volumes/x64/openwrt/tools/tar' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/tar' time: tools/tar/compile#0.19#0.17#0.36 make[2]: Entering directory '/Volumes/x64/openwrt/tools/m4' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/m4' time: tools/m4/compile#0.20#0.17#0.35 make[2]: Entering directory '/Volumes/x64/openwrt/tools/autoconf' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/autoconf' time: tools/autoconf/compile#0.19#0.16#0.35 make[2]: Entering directory '/Volumes/x64/openwrt/tools/ninja' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/ninja' time: tools/ninja/compile#0.19#0.16#0.35 make[2]: Entering directory '/Volumes/x64/openwrt/tools/meson' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/meson' time: tools/meson/compile#0.17#0.16#0.31 make[2]: Entering directory '/Volumes/x64/openwrt/tools/pkgconf' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/pkgconf' time: tools/pkgconf/compile#0.18#0.16#0.34 make[2]: Entering directory '/Volumes/x64/openwrt/tools/xz' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/xz' time: tools/xz/compile#0.19#0.17#0.36 make[2]: Entering directory '/Volumes/x64/openwrt/tools/automake' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/automake' time: tools/automake/compile#0.19#0.17#0.35 make[2]: Entering directory '/Volumes/x64/openwrt/tools/gnulib' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/gnulib' time: tools/gnulib/compile#0.23#0.22#0.41 make[2]: Entering directory '/Volumes/x64/openwrt/tools/missing-macros' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/missing-macros' time: tools/missing-macros/compile#0.16#0.13#0.28 make[2]: Entering directory '/Volumes/x64/openwrt/tools/libtool' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/libtool' time: tools/libtool/compile#0.20#0.18#0.37 make[2]: Entering directory '/Volumes/x64/openwrt/tools/zlib' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/zlib' time: tools/zlib/compile#0.19#0.17#0.36 make[2]: Entering directory '/Volumes/x64/openwrt/tools/flex' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/flex' time: tools/flex/compile#0.19#0.17#0.37 make[2]: Entering directory '/Volumes/x64/openwrt/tools/bison' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/bison' time: tools/bison/compile#0.19#0.17#0.35 make[2]: Entering directory '/Volumes/x64/openwrt/tools/util-linux' make[2]: Leaving directory '/Volumes/x64/openwrt/tools/util-linux' time: tools/util-linux/compile#0.21#0.19#0.38 make[2]: Entering directory '/Volumes/x64/openwrt/tools/mtd-utils' . /Volumes/x64/openwrt/include/shell.sh; bzcat /Volumes/x64/openwrt/dl/mtd-utils-2.2.0.tar.bz2 | tar -C /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/* /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0 Applying /Volumes/x64/openwrt/tools/mtd-utils/patches/100-sscanf_fix.patch using plaintext: patching file jffsX-utils/mkfs.jffs2.c Applying /Volumes/x64/openwrt/tools/mtd-utils/patches/110-portability.patch using plaintext: patching file jffsX-utils/compr_lzo.c patching file jffsX-utils/compr_zlib.c patching file jffsX-utils/rbtree.h patching file include/mtd/ubi-media.h patching file ubifs-utils/mkfs.ubifs/mkfs.ubifs.h patching file ubifs-utils/mkfs.ubifs/mkfs.ubifs.c patching file ubifs-utils/mkfs.ubifs/devtable.c patching file include/common.h patching file include/mtd/ubifs-media.h Applying /Volumes/x64/openwrt/tools/mtd-utils/patches/130-lzma_jffs2.patch using plaintext: patching file jffsX-utils/Makemodule.am patching file jffsX-utils/compr.c patching file jffsX-utils/compr.h patching file jffsX-utils/compr_lzma.c patching file include/linux/jffs2.h patching file include/linux/lzma.h patching file include/linux/lzma/LzFind.h patching file include/linux/lzma/LzHash.h patching file include/linux/lzma/LzmaDec.h patching file include/linux/lzma/LzmaEnc.h patching file include/linux/lzma/Types.h patching file jffsX-utils/lzma/LzFind.c patching file jffsX-utils/lzma/LzmaDec.c patching file jffsX-utils/lzma/LzmaEnc.c patching file jffsX-utils/mkfs.jffs2.c patching file Makefile.am patching file configure.ac Applying /Volumes/x64/openwrt/tools/mtd-utils/patches/134-freebsd_loff_t.patch using plaintext: patching file include/mtd/mtd-abi.h Applying /Volumes/x64/openwrt/tools/mtd-utils/patches/200-libubigen-add-ubigen_write_terminator-function.patch using plaintext: patching file lib/libubigen.c patching file include/libubigen.h Applying /Volumes/x64/openwrt/tools/mtd-utils/patches/201-ubinize-add-terminator-support.patch using plaintext: patching file ubi-utils/ubinize.c Applying /Volumes/x64/openwrt/tools/mtd-utils/patches/320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch using plaintext: patching file jffsX-utils/mkfs.jffs2.c touch /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0/.preparedb997348cd407e5a703ef15579c5a8815_6664517399ebbbc92a37c5bb081b5c53 (cd /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf ./autom4te.cache; [ -e ./config.rpath ] || ln -s /Volumes/x64/openwrt/scripts/config.rpath ./config.rpath; touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; AUTOM4TE=/Volumes/x64/openwrt/staging_dir/host/bin/autom4te AUTOCONF=/Volumes/x64/openwrt/staging_dir/host/bin/autoconf AUTOMAKE=/Volumes/x64/openwrt/staging_dir/host/bin/automake ACLOCAL=/Volumes/x64/openwrt/staging_dir/host/bin/aclocal AUTOHEADER=/Volumes/x64/openwrt/staging_dir/host/bin/autoheader LIBTOOLIZE=/Volumes/x64/openwrt/staging_dir/host/bin/libtoolize LIBTOOL=/Volumes/x64/openwrt/staging_dir/host/bin/libtool M4=/Volumes/x64/openwrt/staging_dir/host/bin/m4 AUTOPOINT=true GTKDOCIZE=true LIBTOOLIZE='/Volumes/x64/openwrt/staging_dir/host/bin/libtoolize --install' /Volumes/x64/openwrt/staging_dir/host/bin/autoreconf -v -f -i -s -B /Volumes/x64/openwrt/staging_dir/host/share/aclocal -I m4 -I . . || true; fi; ); autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /Volumes/x64/openwrt/staging_dir/host/bin/aclocal -I m4 -I . --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /Volumes/x64/openwrt/staging_dir/host/bin/autoconf --include=m4 --include=. --prepend-include=/Volumes/x64/openwrt/staging_dir/host/share/aclocal --force configure.ac:299: warning: AC_OUTPUT should be used without arguments. configure.ac:299: You should run autoupdate. autoreconf: running: /Volumes/x64/openwrt/staging_dir/host/bin/autoheader --include=m4 --include=. --prepend-include=/Volumes/x64/openwrt/staging_dir/host/share/aclocal --force autoreconf: running: /Volumes/x64/openwrt/staging_dir/host/bin/automake --add-missing --force-missing autoreconf: Leaving directory '.' (cd /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0/; if [ -x configure ]; then cp -fpR /Volumes/x64/openwrt/scripts/config.{guess,sub} /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0// && CC="/Volumes/x64/openwrt/staging_dir/host/bin/gcc" CFLAGS="-O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h" CXX="/Volumes/x64/openwrt/staging_dir/host/bin/g++" CPPFLAGS="-I/Volumes/x64/openwrt/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/Volumes/x64/openwrt/staging_dir/host/lib " CONFIG_SHELL="/usr/bin/env bash" bash ./configure --target=x86_64-apple-darwin23.5.0 --host=x86_64-apple-darwin23.5.0 --build=x86_64-apple-darwin23.5.0 --disable-dependency-tracking --program-prefix="" --program-suffix="" --prefix=/Volumes/x64/openwrt/staging_dir/host --exec-prefix=/Volumes/x64/openwrt/staging_dir/host --sysconfdir=/Volumes/x64/openwrt/staging_dir/host/etc --localstatedir=/Volumes/x64/openwrt/staging_dir/host/var --sbindir=/Volumes/x64/openwrt/staging_dir/host/bin --without-tests --without-crypto --without-xattr --without-zstd --without-lzo --with-lzma ; fi ) configure: loading site script /Volumes/x64/openwrt/include/site/darwin checking for a BSD-compatible install... /Volumes/x64/openwrt/staging_dir/host/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-apple-darwin23.5.0-gcc... /Volumes/x64/openwrt/staging_dir/host/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /Volumes/x64/openwrt/staging_dir/host/bin/gcc accepts -g... yes checking for /Volumes/x64/openwrt/staging_dir/host/bin/gcc option to enable C11 features... none needed checking whether /Volumes/x64/openwrt/staging_dir/host/bin/gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /Volumes/x64/openwrt/staging_dir/host/bin/gcc... none checking for x86_64-apple-darwin23.5.0-ar... no checking for ar... ar checking for x86_64-apple-darwin23.5.0-ranlib... no checking for ranlib... ranlib checking build system type... x86_64-apple-darwin23.5.0 checking host system type... x86_64-apple-darwin23.5.0 checking for /Volumes/x64/openwrt/staging_dir/host/bin/gcc option to enable large file support... none needed checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... /Volumes/x64/openwrt/staging_dir/host/bin/gcc -E checking whether compiler handles -Wall... yes checking whether compiler handles -Wextra... yes checking whether compiler handles -Wunused... yes checking whether compiler handles -Wmissing-prototypes... yes checking whether compiler handles -Wmissing-declarations... yes checking whether compiler handles -Wwrite-strings... yes checking whether compiler handles -Wjump-misses-init... no checking whether compiler handles -Wuninitialized... yes checking whether compiler handles -Winit-self... yes checking whether compiler handles -Wlogical-op... no checking whether compiler handles -Wunused-but-set-parameter... yes checking whether compiler handles -Wunused-but-set-variable... yes checking whether compiler handles -Wunused-parameter... yes checking whether compiler handles -Wunused-result... yes checking whether compiler handles -Wunused-variable... yes checking whether compiler handles -Wduplicated-cond... no checking whether compiler handles -Wduplicated-branches... no checking whether compiler handles -Wrestrict... no checking whether compiler handles -Wnull-dereference... yes checking whether compiler handles -Wno-shadow... yes checking whether compiler handles -Wno-sign-compare... yes checking for zlib... yes checking for uuid... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for libselinux... no checking for selinux/selinux.h... no checking for selinux/label.h... no checking for sys/random.h... yes checking for execinfo.h... yes checking size of off_t... 8 checking size of loff_t... 8 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating tests/fs-tests/fs_help_all.sh config.status: creating tests/fs-tests/fs_run_all.sh config.status: creating tests/fs-tests/stress/fs_stress00.sh config.status: creating tests/fs-tests/stress/fs_stress01.sh config.status: creating tests/ubi-tests/runubitests.sh config.status: creating tests/ubi-tests/ubi-stress-test.sh config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands mtd-utils 2.2.0 prefix: /Volumes/x64/openwrt/staging_dir/host exec prefix: /Volumes/x64/openwrt/staging_dir/host runstatedir: ${localstatedir}/run bindir: ${exec_prefix}/bin sbindir: /Volumes/x64/openwrt/staging_dir/host/bin libdir: ${exec_prefix}/lib includedir: ${prefix}/include compiler: /Volumes/x64/openwrt/staging_dir/host/bin/gcc cflags: -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h ldflags: -L/Volumes/x64/openwrt/staging_dir/host/lib lzo support: no zlib support: yes zstd support: no lzma support: yes xattr/acl support: no SELinux support: no fscrypt support: no Test programs: no Unit tests: no ubihealthd: yes lsmtd: yes jffs2 utils: yes ubifs utils: yes warnings: -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare Type 'make' or 'make ' to compile. touch /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0/.configured CFLAGS="-O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h" CPPFLAGS="-I/Volumes/x64/openwrt/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/Volumes/x64/openwrt/staging_dir/host/lib " make -j1 -C /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0 PROGRAMS="mkfs.jffs2 ubinize mkfs.ubifs" make[3]: Entering directory '/Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0' /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/mkfs_jffs2-mkfs.jffs2.o `test -f 'jffsX-utils/mkfs.jffs2.c' || echo './'`jffsX-utils/mkfs.jffs2.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/mkfs_jffs2-rbtree.o `test -f 'jffsX-utils/rbtree.c' || echo './'`jffsX-utils/rbtree.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/mkfs_jffs2-compr.o `test -f 'jffsX-utils/compr.c' || echo './'`jffsX-utils/compr.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/mkfs_jffs2-compr_rtime.o `test -f 'jffsX-utils/compr_rtime.c' || echo './'`jffsX-utils/compr_rtime.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/mkfs_jffs2-compr_zlib.o `test -f 'jffsX-utils/compr_zlib.c' || echo './'`jffsX-utils/compr_zlib.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/mkfs_jffs2-compr_lzma.o `test -f 'jffsX-utils/compr_lzma.c' || echo './'`jffsX-utils/compr_lzma.c In file included from jffsX-utils/compr_lzma.c:10: ./include/linux/lzma.h:45:34: warning: unused parameter 'p' [-Wunused-parameter] static void *p_lzma_malloc(void *p, size_t size) ^ ./include/linux/lzma.h:53:31: warning: unused parameter 'p' [-Wunused-parameter] static void p_lzma_free(void *p, void *address) ^ 2 warnings generated. /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/lzma/mkfs_jffs2-LzFind.o `test -f 'jffsX-utils/lzma/LzFind.c' || echo './'`jffsX-utils/lzma/LzFind.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/lzma/mkfs_jffs2-LzmaEnc.o `test -f 'jffsX-utils/lzma/LzmaEnc.c' || echo './'`jffsX-utils/lzma/LzmaEnc.c jffsX-utils/lzma/LzmaEnc.c:1977:8: warning: variable 'btMode' set but not used [-Wunused-but-set-variable] Bool btMode; ^ jffsX-utils/lzma/LzmaEnc.c:2149:43: warning: unused parameter 'pp' [-Wunused-parameter] static void LzmaEnc_Finish(CLzmaEncHandle pp) ^ jffsX-utils/lzma/LzmaEnc.c:357:13: warning: unused function 'LzmaEnc_SaveState' [-Wunused-function] static void LzmaEnc_SaveState(CLzmaEncHandle pp) ^ jffsX-utils/lzma/LzmaEnc.c:383:13: warning: unused function 'LzmaEnc_RestoreState' [-Wunused-function] static void LzmaEnc_RestoreState(CLzmaEncHandle pp) ^ jffsX-utils/lzma/LzmaEnc.c:2124:13: warning: unused function 'LzmaEnc_PrepareForLzma2' [-Wunused-function] static SRes LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, ^ jffsX-utils/lzma/LzmaEnc.c:2140:13: warning: unused function 'LzmaEnc_MemPrepare' [-Wunused-function] static SRes LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, ^ jffsX-utils/lzma/LzmaEnc.c:2181:15: warning: unused function 'LzmaEnc_GetNumAvailableBytes' [-Wunused-function] static UInt32 LzmaEnc_GetNumAvailableBytes(CLzmaEncHandle pp) ^ jffsX-utils/lzma/LzmaEnc.c:2187:20: warning: unused function 'LzmaEnc_GetCurBuf' [-Wunused-function] static const Byte *LzmaEnc_GetCurBuf(CLzmaEncHandle pp) ^ jffsX-utils/lzma/LzmaEnc.c:2193:13: warning: unused function 'LzmaEnc_CodeOneMemBlock' [-Wunused-function] static SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, Bool reInit, ^ 9 warnings generated. /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I./include/linux/lzma -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o jffsX-utils/lzma/mkfs_jffs2-LzmaDec.o `test -f 'jffsX-utils/lzma/LzmaDec.c' || echo './'`jffsX-utils/lzma/LzmaDec.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/libmtd.o lib/libmtd.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/libfec.o lib/libfec.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/common.o lib/common.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/libcrc32.o lib/libcrc32.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/libmtd_legacy.o lib/libmtd_legacy.c rm -f libmtd.a ar cru libmtd.a lib/libmtd.o lib/libfec.o lib/common.o lib/libcrc32.o lib/libmtd_legacy.o ranlib libmtd.a /Volumes/x64/openwrt/staging_dir/host/bin/gcc -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -L/Volumes/x64/openwrt/staging_dir/host/lib -o mkfs.jffs2 jffsX-utils/mkfs_jffs2-mkfs.jffs2.o jffsX-utils/mkfs_jffs2-rbtree.o jffsX-utils/mkfs_jffs2-compr.o jffsX-utils/mkfs_jffs2-compr_rtime.o jffsX-utils/mkfs_jffs2-compr_zlib.o jffsX-utils/mkfs_jffs2-compr_lzma.o jffsX-utils/lzma/mkfs_jffs2-LzFind.o jffsX-utils/lzma/mkfs_jffs2-LzmaEnc.o jffsX-utils/lzma/mkfs_jffs2-LzmaDec.o libmtd.a -L/Volumes/x64/openwrt/staging_dir/host/lib -lz /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubi-utils/ubinize.o ubi-utils/ubinize.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/libubi.o lib/libubi.c rm -f libubi.a ar cru libubi.a lib/libubi.o ranlib libubi.a /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/libubigen.o lib/libubigen.c rm -f libubigen.a ar cru libubigen.a lib/libubigen.o ranlib libubigen.a /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/libiniparser.o lib/libiniparser.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o lib/dictionary.o lib/dictionary.c rm -f libiniparser.a ar cru libiniparser.a lib/libiniparser.o lib/dictionary.o ranlib libiniparser.a /Volumes/x64/openwrt/staging_dir/host/bin/gcc -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -L/Volumes/x64/openwrt/staging_dir/host/lib -o ubinize ubi-utils/ubinize.o libubi.a libubigen.a libmtd.a libiniparser.a /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/staging_dir/host/include/uuid -I./ubi-utils/include -I./ubifs-utils/mkfs.ubifs/ -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o `test -f 'ubifs-utils/mkfs.ubifs/mkfs.ubifs.c' || echo './'`ubifs-utils/mkfs.ubifs/mkfs.ubifs.c In file included from ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:25: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:40:17: warning: redefinition of typedef '__u8' is a C11 feature [-Wtypedef-redefinition] typedef uint8_t __u8; ^ ./include/mtd/ubi-media.h:37:17: note: previous definition is here typedef uint8_t __u8; ^ In file included from ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:25: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:41:18: warning: redefinition of typedef '__be16' is a C11 feature [-Wtypedef-redefinition] typedef uint16_t __be16; ^ ./include/mtd/ubi-media.h:38:18: note: previous definition is here typedef uint16_t __be16; ^ In file included from ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:25: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:42:18: warning: redefinition of typedef '__be32' is a C11 feature [-Wtypedef-redefinition] typedef uint32_t __be32; ^ ./include/mtd/ubi-media.h:39:18: note: previous definition is here typedef uint32_t __be32; ^ In file included from ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:25: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:43:18: warning: redefinition of typedef '__be64' is a C11 feature [-Wtypedef-redefinition] typedef uint64_t __be64; ^ ./include/mtd/ubi-media.h:40:18: note: previous definition is here typedef uint64_t __be64; ^ ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:553:14: warning: variable 'fscrypt_flags' set but not used [-Wunused-but-set-variable] int opt, i, fscrypt_flags = FS_POLICY_FLAGS_PAD_4; ^ ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:1548:35: warning: unused parameter 'flags' [-Wunused-parameter] unsigned int data_len, int flags, const char *xattr_path, ^ ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:1216:12: warning: unused function 'add_xattr' [-Wunused-function] static int add_xattr(struct ubifs_ino_node *host_ino, struct stat *st, ^ 7 warnings generated. /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/staging_dir/host/include/uuid -I./ubi-utils/include -I./ubifs-utils/mkfs.ubifs/ -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubifs-utils/mkfs.ubifs/mkfs_ubifs-crc16.o `test -f 'ubifs-utils/mkfs.ubifs/crc16.c' || echo './'`ubifs-utils/mkfs.ubifs/crc16.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/staging_dir/host/include/uuid -I./ubi-utils/include -I./ubifs-utils/mkfs.ubifs/ -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubifs-utils/mkfs.ubifs/mkfs_ubifs-lpt.o `test -f 'ubifs-utils/mkfs.ubifs/lpt.c' || echo './'`ubifs-utils/mkfs.ubifs/lpt.c In file included from ubifs-utils/mkfs.ubifs/lpt.c:23: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:40:17: warning: redefinition of typedef '__u8' is a C11 feature [-Wtypedef-redefinition] typedef uint8_t __u8; ^ ./include/mtd/ubi-media.h:37:17: note: previous definition is here typedef uint8_t __u8; ^ In file included from ubifs-utils/mkfs.ubifs/lpt.c:23: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:41:18: warning: redefinition of typedef '__be16' is a C11 feature [-Wtypedef-redefinition] typedef uint16_t __be16; ^ ./include/mtd/ubi-media.h:38:18: note: previous definition is here typedef uint16_t __be16; ^ In file included from ubifs-utils/mkfs.ubifs/lpt.c:23: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:42:18: warning: redefinition of typedef '__be32' is a C11 feature [-Wtypedef-redefinition] typedef uint32_t __be32; ^ ./include/mtd/ubi-media.h:39:18: note: previous definition is here typedef uint32_t __be32; ^ In file included from ubifs-utils/mkfs.ubifs/lpt.c:23: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:43:18: warning: redefinition of typedef '__be64' is a C11 feature [-Wtypedef-redefinition] typedef uint64_t __be64; ^ ./include/mtd/ubi-media.h:40:18: note: previous definition is here typedef uint64_t __be64; ^ 4 warnings generated. /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/staging_dir/host/include/uuid -I./ubi-utils/include -I./ubifs-utils/mkfs.ubifs/ -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubifs-utils/mkfs.ubifs/mkfs_ubifs-compr.o `test -f 'ubifs-utils/mkfs.ubifs/compr.c' || echo './'`ubifs-utils/mkfs.ubifs/compr.c In file included from ubifs-utils/mkfs.ubifs/compr.c:42: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:40:17: warning: redefinition of typedef '__u8' is a C11 feature [-Wtypedef-redefinition] typedef uint8_t __u8; ^ ./include/mtd/ubi-media.h:37:17: note: previous definition is here typedef uint8_t __u8; ^ In file included from ubifs-utils/mkfs.ubifs/compr.c:42: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:41:18: warning: redefinition of typedef '__be16' is a C11 feature [-Wtypedef-redefinition] typedef uint16_t __be16; ^ ./include/mtd/ubi-media.h:38:18: note: previous definition is here typedef uint16_t __be16; ^ In file included from ubifs-utils/mkfs.ubifs/compr.c:42: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:42:18: warning: redefinition of typedef '__be32' is a C11 feature [-Wtypedef-redefinition] typedef uint32_t __be32; ^ ./include/mtd/ubi-media.h:39:18: note: previous definition is here typedef uint32_t __be32; ^ In file included from ubifs-utils/mkfs.ubifs/compr.c:42: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:43:18: warning: redefinition of typedef '__be64' is a C11 feature [-Wtypedef-redefinition] typedef uint64_t __be64; ^ ./include/mtd/ubi-media.h:40:18: note: previous definition is here typedef uint64_t __be64; ^ 4 warnings generated. /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/staging_dir/host/include/uuid -I./ubi-utils/include -I./ubifs-utils/mkfs.ubifs/ -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable.o `test -f 'ubifs-utils/mkfs.ubifs/hashtable/hashtable.c' || echo './'`ubifs-utils/mkfs.ubifs/hashtable/hashtable.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/staging_dir/host/include/uuid -I./ubi-utils/include -I./ubifs-utils/mkfs.ubifs/ -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable_itr.o `test -f 'ubifs-utils/mkfs.ubifs/hashtable/hashtable_itr.c' || echo './'`ubifs-utils/mkfs.ubifs/hashtable/hashtable_itr.c /Volumes/x64/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wuninitialized -Winit-self -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I./include -include ./include/config.h -DWITH_ZLIB -DWITH_LZMA -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/staging_dir/host/include/uuid -I./ubi-utils/include -I./ubifs-utils/mkfs.ubifs/ -I/Volumes/x64/openwrt/staging_dir/host/include -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -c -o ubifs-utils/mkfs.ubifs/mkfs_ubifs-devtable.o `test -f 'ubifs-utils/mkfs.ubifs/devtable.c' || echo './'`ubifs-utils/mkfs.ubifs/devtable.c In file included from ubifs-utils/mkfs.ubifs/devtable.c:48: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:40:17: warning: redefinition of typedef '__u8' is a C11 feature [-Wtypedef-redefinition] typedef uint8_t __u8; ^ ./include/mtd/ubi-media.h:37:17: note: previous definition is here typedef uint8_t __u8; ^ In file included from ubifs-utils/mkfs.ubifs/devtable.c:48: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:41:18: warning: redefinition of typedef '__be16' is a C11 feature [-Wtypedef-redefinition] typedef uint16_t __be16; ^ ./include/mtd/ubi-media.h:38:18: note: previous definition is here typedef uint16_t __be16; ^ In file included from ubifs-utils/mkfs.ubifs/devtable.c:48: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:42:18: warning: redefinition of typedef '__be32' is a C11 feature [-Wtypedef-redefinition] typedef uint32_t __be32; ^ ./include/mtd/ubi-media.h:39:18: note: previous definition is here typedef uint32_t __be32; ^ In file included from ubifs-utils/mkfs.ubifs/devtable.c:48: In file included from ./ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:63: ./include/mtd/ubifs-media.h:43:18: warning: redefinition of typedef '__be64' is a C11 feature [-Wtypedef-redefinition] typedef uint64_t __be64; ^ ./include/mtd/ubi-media.h:40:18: note: previous definition is here typedef uint64_t __be64; ^ 4 warnings generated. /Volumes/x64/openwrt/staging_dir/host/bin/gcc -O2 -I/Volumes/x64/openwrt/staging_dir/host/include -I/Volumes/x64/openwrt/tools/mtd-utils/include -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -DNO_NATIVE_SUPPORT -include fls.h -L/Volumes/x64/openwrt/staging_dir/host/lib -o mkfs.ubifs ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o ubifs-utils/mkfs.ubifs/mkfs_ubifs-crc16.o ubifs-utils/mkfs.ubifs/mkfs_ubifs-lpt.o ubifs-utils/mkfs.ubifs/mkfs_ubifs-compr.o ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable.o ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable_itr.o ubifs-utils/mkfs.ubifs/mkfs_ubifs-devtable.o libmtd.a libubi.a -L/Volumes/x64/openwrt/staging_dir/host/lib -lz -L/Volumes/x64/openwrt/staging_dir/host/lib -luuid -lm Undefined symbols for architecture x86_64: "_libintl_gettext", referenced from: _random_tell_source in libuuid.a[13](libuuid_la-randutils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [Makefile:2352: mkfs.ubifs] Error 1 make[3]: Leaving directory '/Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0' make[2]: *** [Makefile:56: /Volumes/x64/openwrt/build_dir/host/mtd-utils-2.2.0/.built] Error 2 make[2]: Leaving directory '/Volumes/x64/openwrt/tools/mtd-utils' time: tools/mtd-utils/compile#10.64#5.46#18.83 ERROR: tools/mtd-utils failed to build. make[1]: *** [tools/Makefile:231: tools/mtd-utils/compile] Error 1 make[1]: Leaving directory '/Volumes/x64/openwrt' make: *** [/Volumes/x64/openwrt/include/toplevel.mk:248: tools/mtd-utils/compile] Error 2