[FS#381] Error: undefined reference to `clock_gettime’ during build

LEDE Bugs lede-bugs at lists.infradead.org
Tue Jan 10 16:25:04 PST 2017


The following task has a new comment added:

FS#381 - Error: undefined reference to `clock_gettime’ during build
User who did this - David Poxon (noilly)

----------
make[1]: Entering directory `/home/vagrant/lede'
make[2]: Entering directory `/home/vagrant/lede/tools/mkimage'
rm -f /home/vagrant/lede/staging_dir/host/bin/mkimage
rm -rf /home/vagrant/lede/build_dir/host/u-boot-2014.10 /home/vagrant/lede/staging_dir/host/stamp/.mkimage_installed /home/vagrant/lede/build_dir/host/u-boot-2014.10/.built
make[2]: Leaving directory `/home/vagrant/lede/tools/mkimage'
make[1]: Leaving directory `/home/vagrant/lede'
make[1]: Entering directory `/home/vagrant/lede'
+ mkdir -p /home/vagrant/lede/staging_dir/target-mips_24kc_musl-1.1.15
+ cd /home/vagrant/lede/staging_dir/target-mips_24kc_musl-1.1.15
+ mkdir -p bin lib include stamp
mkdir -p /home/vagrant/lede/build_dir/target-mips_24kc_musl-1.1.15/stamp
touch /home/vagrant/lede/staging_dir/target-mips_24kc_musl-1.1.15/.prepared
+ mkdir -p /home/vagrant/lede/staging_dir/host
+ cd /home/vagrant/lede/staging_dir/host
+ mkdir -p bin lib include stamp
mkdir -p /home/vagrant/lede/build_dir/host/stamp /home/vagrant/lede/staging_dir/host/include/sys
install -m0644 /home/vagrant/lede/tools/include/*.h /home/vagrant/lede/staging_dir/host/include/
install -m0644 /home/vagrant/lede/tools/include/sys/*.h /home/vagrant/lede/staging_dir/host/include/sys/
ln -sf lib /home/vagrant/lede/staging_dir/host/lib64
touch /home/vagrant/lede/staging_dir/host/.prepared
make[2]: Entering directory `/home/vagrant/lede/tools/flock'
make[2]: Leaving directory `/home/vagrant/lede/tools/flock'
make[2]: Entering directory `/home/vagrant/lede/tools/flock'
make[2]: Leaving directory `/home/vagrant/lede/tools/flock'
make[2]: Entering directory `/home/vagrant/lede/tools/sed'
make[2]: Leaving directory `/home/vagrant/lede/tools/sed'
make[2]: Entering directory `/home/vagrant/lede/tools/sed'
make[2]: Leaving directory `/home/vagrant/lede/tools/sed'
make[2]: Entering directory `/home/vagrant/lede/tools/patch'
make[2]: Leaving directory `/home/vagrant/lede/tools/patch'
make[2]: Entering directory `/home/vagrant/lede/tools/patch'
make[2]: Leaving directory `/home/vagrant/lede/tools/patch'
make[2]: Entering directory `/home/vagrant/lede/tools/xz'
make[2]: Leaving directory `/home/vagrant/lede/tools/xz'
make[2]: Entering directory `/home/vagrant/lede/tools/xz'
make[2]: Leaving directory `/home/vagrant/lede/tools/xz'
make[2]: Entering directory `/home/vagrant/lede/tools/tar'
make[2]: Leaving directory `/home/vagrant/lede/tools/tar'
make[2]: Entering directory `/home/vagrant/lede/tools/tar'
make[2]: Leaving directory `/home/vagrant/lede/tools/tar'
make[2]: Entering directory `/home/vagrant/lede/tools/pkg-config'
make[2]: Leaving directory `/home/vagrant/lede/tools/pkg-config'
make[2]: Entering directory `/home/vagrant/lede/tools/pkg-config'
make[2]: Leaving directory `/home/vagrant/lede/tools/pkg-config'
make[2]: Entering directory `/home/vagrant/lede/tools/libressl'
make[2]: Leaving directory `/home/vagrant/lede/tools/libressl'
make[2]: Entering directory `/home/vagrant/lede/tools/libressl'
make[2]: Leaving directory `/home/vagrant/lede/tools/libressl'
make[2]: Entering directory `/home/vagrant/lede/tools/mkimage'
. /home/vagrant/lede/include/shell.sh; bzcat /home/vagrant/lede/dl/u-boot-2014.10.tar.bz2 | tar -C /home/vagrant/lede/build_dir/host/u-boot-2014.10/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /home/vagrant/lede/build_dir/host/u-boot-2014.10

Applying ./patches/010-freebsd-ulong-fix.patch using plaintext:
patching file include/image.h

Applying ./patches/020-include_compile_fix.patch using plaintext:
patching file include/u-boot/rsa-checksum.h

Applying ./patches/030-allow-to-use-different-magic.patch using plaintext:
patching file tools/mkimage.c
patching file tools/default_image.c
patching file tools/imagetool.h

Applying ./patches/040-include_order.patch using plaintext:
patching file tools/Makefile

Applying ./patches/050-image_h_portability.patch using plaintext:
patching file include/image.h

Applying ./patches/060-remove_kernel_includes.patch using plaintext:
patching file include/compiler.h
patching file include/linux/posix_types.h
patching file include/linux/types.h

Applying ./patches/070-socfpgaimage_portability.patch using plaintext:
patching file tools/socfpgaimage.c

Applying ./patches/080-remove_compiler_check.patch using plaintext:
patching file include/linux/compiler-gcc4.h

Applying ./patches/090-reproducible-SOURCE_DATE_EPOCH.patch using plaintext:
patching file README
patching file tools/default_image.c

Applying ./patches/100-freebsd-compat.patch using plaintext:
patching file Makefile

Applying ./patches/200-compiler-support.patch using plaintext:
patching file include/linux/compiler-gcc.h
patching file include/linux/compiler-gcc3.h
patching file include/linux/compiler-gcc4.h
patching file include/linux/compiler-intel.h
patching file include/linux/compiler.h

Applying ./patches/210-openssl-1.1.x-compat.patch using plaintext:
patching file lib/rsa/rsa-sign.c
rm -f /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/errno.h /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/malloc.h /home/vagrant/lede/build_dir/host/u-boot-2014.10/tools/.depend
touch /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/config.mk
touch /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/config.h
touch /home/vagrant/lede/build_dir/host/u-boot-2014.10/.prepared4bf2a190502f50f8001dd100c0a81470
(cd /home/vagrant/lede/build_dir/host/u-boot-2014.10/; if [ -x configure ]; then cp -fpR /home/vagrant/lede/scripts/config.{guess,sub} /home/vagrant/lede/build_dir/host/u-boot-2014.10// && CC="gcc" CFLAGS="-O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include " CPPFLAGS="-I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include " LDFLAGS="-L/home/vagrant/lede/staging_dir/host/lib -L/home/vagrant/lede/staging_dir/host/usr/lib " CONFIG_SHELL="/usr/bin/env bash"  bash ./configure --target=x86_64-linux-gnu --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/home/vagrant/lede/staging_dir/host --exec-prefix=/home/vagrant/lede/staging_dir/host --sysconfdir=/home/vagrant/lede/staging_dir/host/etc --localstatedir=/home/vagrant/lede/staging_dir/host/var --sbindir=/home/vagrant/lede/staging_dir/host/bin ; fi )
touch /home/vagrant/lede/build_dir/host/u-boot-2014.10/.configured
make -C /home/vagrant/lede/build_dir/host/u-boot-2014.10 defconfig   HOSTCFLAGS="-I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include " HOSTLDFLAGS="-L/home/vagrant/lede/staging_dir/host/lib -L/home/vagrant/lede/staging_dir/host/usr/lib  $(pkg-config --static --libs libcrypto)"
make[3]: Entering directory `/home/vagrant/lede/build_dir/host/u-boot-2014.10'
make -f scripts/Makefile.build obj=scripts/basic
  cc -Wp,-MD,scripts/basic/.fixdep.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include      -o scripts/basic/fixdep scripts/basic/fixdep.c
rm -f .tmp_quiet_recordmcount
/bin/bash /home/vagrant/lede/build_dir/host/u-boot-2014.10/scripts/multiconfig.sh defconfig
  cc -Wp,-MD,scripts/kconfig/.conf.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCURSES_LOC="" -DLOCALE   -c -o scripts/kconfig/conf.o scripts/kconfig/conf.c
  cat scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c
  cat scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c
  cat scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c
  cc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCURSES_LOC="" -DLOCALE  -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
  cc -L/home/vagrant/lede/staging_dir/host/lib -L/home/vagrant/lede/staging_dir/host/usr/lib  -L/home/vagrant/lede/staging_dir/host/lib -lcrypto -lresolv -lrt -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o
scripts/kconfig/conf --defconfig=arch/../configs/.tmp_defconfig Kconfig
#
# configuration written to .config
#
*** Default configuration is based on 'sandbox_defconfig'
make[3]: Leaving directory `/home/vagrant/lede/build_dir/host/u-boot-2014.10'
make -C /home/vagrant/lede/build_dir/host/u-boot-2014.10 tools-only  HOSTCFLAGS="-I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include " HOSTLDFLAGS="-L/home/vagrant/lede/staging_dir/host/lib -L/home/vagrant/lede/staging_dir/host/usr/lib  $(pkg-config --static --libs libcrypto)"
make[3]: Entering directory `/home/vagrant/lede/build_dir/host/u-boot-2014.10'
make -f /home/vagrant/lede/build_dir/host/u-boot-2014.10/Makefile silentoldconfig
make -f scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
/bin/bash /home/vagrant/lede/build_dir/host/u-boot-2014.10/scripts/multiconfig.sh silentoldconfig
mkdir -p include/config include/generated
scripts/kconfig/conf --silentoldconfig Kconfig
ln -fsn /home/vagrant/lede/build_dir/host/u-boot-2014.10/arch/sandbox/include/asm/arch- \
                arch/sandbox/include/asm/arch
set -e; : '  CHK     include/config.h'; mkdir -p include/;      (echo "/* Automatically generated - do not edit */"; for i in $(echo "" | sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=/ {s/=/   /;q; } ; { s/$/      1/; }'; done; echo \#define CONFIG_BOARDDIR board/sandbox; echo \#include \; echo \#include \; echo \#include \; echo \#include \; echo \#include \; ) < scripts/Makefile.autoconf > include/config.h.tmp; if [ -r include/config.h ] && cmp -s include/config.h include/config.h.tmp; then rm -f include/config.h.tmp; else : '  UPD     include/config.h'; mv -f include/config.h.tmp include/config.h; fi
  gcc -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -D__KERNEL__ -D__UBOOT__  -D__SANDBOX__ -U_FORTIFY_SOURCE -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD  -pipe -Iinclude -Iinclude  -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/arch/sandbox/include -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/linux/kconfig.h  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6/include -DDO_DEPS_ONLY -dM /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/common.h > include/autoconf.mk.tmp && { sed -n -f /home/vagrant/lede/build_dir/host/u-boot-2014.10/tools/scripts/define2mk.sed include/autoconf.mk.tmp | while read line; do if ! grep -q "${line%=*}=" include/config/auto.conf; then echo "$line"; fi done > include/autoconf.mk; rm include/autoconf.mk.tmp; } || { rm include/autoconf.mk.tmp; false; }
  gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -D__KERNEL__ -D__UBOOT__  -D__SANDBOX__ -U_FORTIFY_SOURCE -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD  -pipe -Iinclude -Iinclude  -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/arch/sandbox/include -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/linux/kconfig.h  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6/include -MQ include/config/auto.conf /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/common.h > include/autoconf.mk.dep || { rm include/autoconf.mk.dep; false; }
make[3]: Leaving directory `/home/vagrant/lede/build_dir/host/u-boot-2014.10'
make[3]: sdl-config: Command not found
make[3]: Entering directory `/home/vagrant/lede/build_dir/host/u-boot-2014.10'
make -f scripts/Makefile.build obj=scripts/basic
make[3]: sdl-config: Command not found
rm -f .tmp_quiet_recordmcount
set -e; : '  CHK     include/config/uboot.release'; mkdir -p include/config/;   echo "2014.10$(/bin/bash /home/vagrant/lede/build_dir/host/u-boot-2014.10/scripts/setlocalversion /home/vagrant/lede/build_dir/host/u-boot-2014.10)" < include/config/auto.conf > include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] && cmp -s include/config/uboot.release include/config/uboot.release.tmp; then rm -f include/config/uboot.release.tmp; else : '  UPD     include/config/uboot.release'; mv -f include/config/uboot.release.tmp include/config/uboot.release; fi
make[3]: sdl-config: Command not found
set -e; : '  CHK     include/generated/version_autogenerated.h'; mkdir -p include/generated/;   (echo \#define PLAIN_VERSION \"2014.10\"; echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; echo \#define CC_VERSION_STRING \"$(gcc --version | head -n 1)\"; echo \#define LD_VERSION_STRING \"$(ld.bfd --version | head -n 1)\"; ) < include/config/uboot.release > include/generated/version_autogenerated.h.tmp; if [ -r include/generated/version_autogenerated.h ] && cmp -s include/generated/version_autogenerated.h include/generated/version_autogenerated.h.tmp; then rm -f include/generated/version_autogenerated.h.tmp; else : '  UPD     include/generated/version_autogenerated.h'; mv -f include/generated/version_autogenerated.h.tmp include/generated/version_autogenerated.h; fi
make[3]: sdl-config: Command not found
set -e; : '  CHK     include/generated/timestamp_autogenerated.h'; mkdir -p include/generated/;         (LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C date +'#define U_BOOT_TIME "%T"') < /home/vagrant/lede/build_dir/host/u-boot-2014.10/Makefile > include/generated/timestamp_autogenerated.h.tmp; if [ -r include/generated/timestamp_autogenerated.h ] && cmp -s include/generated/timestamp_autogenerated.h include/generated/timestamp_autogenerated.h.tmp; then rm -f include/generated/timestamp_autogenerated.h.tmp; else : '  UPD     include/generated/timestamp_autogenerated.h'; mv -f include/generated/timestamp_autogenerated.h.tmp include/generated/timestamp_autogenerated.h; fi
make[3]: sdl-config: Command not found
make -f scripts/Makefile.build obj=tools
make[3]: sdl-config: Command not found
  cc -Wp,-MD,tools/.img2srec.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -o tools/img2srec tools/img2srec.c
In file included from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/vagrant/lede/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension [enabled by default]
  cc -Wp,-MD,tools/.aisimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/aisimage.o tools/aisimage.c
  cc -Wp,-MD,tools/.atmelimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/atmelimage.o tools/atmelimage.c
  echo "#include " >tools/common/bootm.c
  cc -Wp,-MD,tools/common/.bootm.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/common/bootm.o tools/common/bootm.c
  echo "#include " >tools/common/image-fit.c
  cc -Wp,-MD,tools/common/.image-fit.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/common/image-fit.o tools/common/image-fit.c
  echo "#include " >tools/common/image-sig.c
  cc -Wp,-MD,tools/common/.image-sig.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/common/image-sig.o tools/common/image-sig.c
  echo "#include " >tools/common/image.c
  cc -Wp,-MD,tools/common/.image.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/common/image.o tools/common/image.c
  cc -Wp,-MD,tools/.default_image.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/default_image.o tools/default_image.c
  cc -Wp,-MD,tools/.dumpimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/dumpimage.o tools/dumpimage.c
  cc -Wp,-MD,tools/.fit_check_sign.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/fit_check_sign.o tools/fit_check_sign.c
  cc -Wp,-MD,tools/.fit_common.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/fit_common.o tools/fit_common.c
  cc -Wp,-MD,tools/.fit_image.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/fit_image.o tools/fit_image.c
  cc -Wp,-MD,tools/.fit_info.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/fit_info.o tools/fit_info.c
  cc -Wp,-MD,tools/.gpimage-common.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/gpimage-common.o tools/gpimage-common.c
  cc -Wp,-MD,tools/.gpimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/gpimage.o tools/gpimage.c
  cc -Wp,-MD,tools/.image-host.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/image-host.o tools/image-host.c
  cc -Wp,-MD,tools/.imagetool.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/imagetool.o tools/imagetool.c
  cc -Wp,-MD,tools/.imximage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/imximage.o tools/imximage.c
  cc -Wp,-MD,tools/.kwbimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/kwbimage.o tools/kwbimage.c
  echo "#include " >tools/lib/crc32.c
  cc -Wp,-MD,tools/lib/.crc32.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -c -o tools/lib/crc32.o tools/lib/crc32.c
In file included from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/vagrant/lede/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension [enabled by default]
  echo "#include " >tools/lib/fdtdec.c
  cc -Wp,-MD,tools/lib/.fdtdec.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/fdtdec.o tools/lib/fdtdec.c
  echo "#include " >tools/lib/fdtdec_common.c
  cc -Wp,-MD,tools/lib/.fdtdec_common.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/fdtdec_common.o tools/lib/fdtdec_common.c
  echo "#include " >tools/lib/libfdt/fdt.c
  cc -Wp,-MD,tools/lib/libfdt/.fdt.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt.c
  echo "#include " >tools/lib/libfdt/fdt_ro.c
  cc -Wp,-MD,tools/lib/libfdt/.fdt_ro.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/libfdt/fdt_ro.o tools/lib/libfdt/fdt_ro.c
  echo "#include " >tools/lib/libfdt/fdt_rw.c
  cc -Wp,-MD,tools/lib/libfdt/.fdt_rw.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_rw.c
  echo "#include " >tools/lib/libfdt/fdt_strerror.c
  cc -Wp,-MD,tools/lib/libfdt/.fdt_strerror.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/libfdt/fdt_strerror.o tools/lib/libfdt/fdt_strerror.c
  echo "#include " >tools/lib/libfdt/fdt_wip.c
  cc -Wp,-MD,tools/lib/libfdt/.fdt_wip.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/libfdt/fdt_wip.o tools/lib/libfdt/fdt_wip.c
  echo "#include " >tools/lib/md5.c
  cc -Wp,-MD,tools/lib/.md5.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -c -o tools/lib/md5.o tools/lib/md5.c
In file included from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/vagrant/lede/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension [enabled by default]
In file included from /home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/md5.c:34:0,
                 from tools/lib/md5.c:1:
/home/vagrant/lede/build_dir/host/u-boot-2014.10/include/u-boot/md5.h:17:3: warning: ISO C90 doesn't support unnamed structs/unions [-pedantic]
  echo "#include " >tools/lib/rsa/rsa-checksum.c
  cc -Wp,-MD,tools/lib/rsa/.rsa-checksum.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/rsa/rsa-checksum.o tools/lib/rsa/rsa-checksum.c
  echo "#include " >tools/lib/rsa/rsa-sign.c
  cc -Wp,-MD,tools/lib/rsa/.rsa-sign.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/rsa/rsa-sign.o tools/lib/rsa/rsa-sign.c
  echo "#include " >tools/lib/rsa/rsa-verify.c
  cc -Wp,-MD,tools/lib/rsa/.rsa-verify.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/lib/rsa/rsa-verify.o tools/lib/rsa/rsa-verify.c
  echo "#include " >tools/lib/sha1.c
  cc -Wp,-MD,tools/lib/.sha1.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -c -o tools/lib/sha1.o tools/lib/sha1.c
In file included from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/vagrant/lede/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension [enabled by default]
  echo "#include " >tools/lib/sha256.c
  cc -Wp,-MD,tools/lib/.sha256.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -c -o tools/lib/sha256.o tools/lib/sha256.c
In file included from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/vagrant/lede/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension [enabled by default]
  cc -Wp,-MD,tools/.mkenvimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/mkenvimage.o tools/mkenvimage.c
  cc -Wp,-MD,tools/.mkimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/mkimage.o tools/mkimage.c
  cc -Wp,-MD,tools/.mxsimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/mxsimage.o tools/mxsimage.c
  cc -Wp,-MD,tools/.omapimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/omapimage.o tools/omapimage.c
  cc -Wp,-MD,tools/.os_support.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/os_support.o tools/os_support.c
  cc -Wp,-MD,tools/.pbl_crc32.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/pbl_crc32.o tools/pbl_crc32.c
  cc -Wp,-MD,tools/.pblimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/pblimage.o tools/pblimage.c
  cc -Wp,-MD,tools/.socfpgaimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/socfpgaimage.o tools/socfpgaimage.c
  cc -Wp,-MD,tools/.ublimage.o.d -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include  -O2 -I/home/vagrant/lede/staging_dir/host/include -I/home/vagrant/lede/staging_dir/host/usr/include    -DCONFIG_FIT_SIGNATURE -include /home/vagrant/lede/build_dir/host/u-boot-2014.10/include/libfdt_env.h -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/include -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/lib/libfdt -I/home/vagrant/lede/build_dir/host/u-boot-2014.10/tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/ublimage.o tools/ublimage.c
  cc -L/home/vagrant/lede/staging_dir/host/lib -L/home/vagrant/lede/staging_dir/host/usr/lib  -L/home/vagrant/lede/staging_dir/host/lib -lcrypto -lresolv -lrt -o tools/mkenvimage tools/mkenvimage.o tools/os_support.o tools/lib/crc32.o
  cc -L/home/vagrant/lede/staging_dir/host/lib -L/home/vagrant/lede/staging_dir/host/usr/lib  -L/home/vagrant/lede/staging_dir/host/lib -lcrypto -lresolv -lrt -o tools/dumpimage tools/aisimage.o tools/atmelimage.o tools/common/image-sig.o tools/common/bootm.o tools/lib/crc32.o tools/default_image.o tools/lib/fdtdec_common.o tools/lib/fdtdec.o tools/fit_common.o tools/fit_image.o tools/gpimage.o tools/gpimage-common.o tools/common/image-fit.o tools/image-host.o tools/common/image.o tools/imagetool.o tools/imximage.o tools/kwbimage.o tools/lib/md5.o tools/mxsimage.o tools/omapimage.o tools/os_support.o tools/pblimage.o tools/pbl_crc32.o tools/socfpgaimage.o tools/lib/sha1.o tools/lib/sha256.o tools/ublimage.o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt_ro.o tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_strerror.o tools/lib/libfdt/fdt_wip.o tools/lib/rsa/rsa-sign.o tools/lib/rsa/rsa-verify.o tools/lib/rsa/rsa-checksum.o tools/dumpimage.o  -lssl -lcrypto
/home/vagrant/lede/staging_dir/host/lib/libcrypto.a(getentropy_linux.o): In function `getentropy_fallback':
getentropy_linux.c:(.text+0x18b): undefined reference to `clock_gettime'
getentropy_linux.c:(.text+0x46f): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[4]: *** [tools/dumpimage] Error 1
make[3]: *** [tools-only] Error 2
make[3]: Leaving directory `/home/vagrant/lede/build_dir/host/u-boot-2014.10'
make[2]: *** [/home/vagrant/lede/build_dir/host/u-boot-2014.10/.built] Error 2
make[2]: Leaving directory `/home/vagrant/lede/tools/mkimage'
make[1]: *** [tools/mkimage/compile] Error 2
make[1]: Leaving directory `/home/vagrant/lede'
make: *** [tools/mkimage/compile] Error 2

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=381#comment1192



More information about the lede-bugs mailing list