[LEDE-DEV] Build failure with Imagebuilder on r3922-9613d97

Martin Tippmann mt at i3o.de
Thu Apr 6 07:10:47 PDT 2017


Hi, build seems to fail when Imagebuilder is selected - seems related
to u-boot but I'm not sure where the error is. Tested with fresh
checkout on Ubuntu 16.04 + up to date Arch Linux, build fails with the
same problem.

...
make -C tools all
make[5]: Entering directory
'/home/riso3860/source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-
2010.03/tools'
gcc -g -O2 -I/home/riso3860/source/staging_dir/host/include
-I/home/riso3860/source/staging_dir/host/usr/include -I/
home/riso3860/source/staging_dir/hostpkg/include
-I/home/riso3860/source/staging_dir/target-mips_24kc_musl/host/incl
ude $(HOSTCPPFLAGS) -c -o crc32.o
/home/riso3860/source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-
boot-2010.03/lib_generic/crc32.c
/bin/sh: 1: HOSTCPPFLAGS: not found
/home/riso3860/source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/lib_generic/crc32.c:1
2:20: fatal error: common.h: No such file or directory
compilation terminated.
Makefile:200: recipe for target 'crc32.o' failed
make[5]: *** [crc32.o] Error 1
make[5]: Leaving directory
'/home/riso3860/source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2
010.03/tools'
Makefile:364: recipe for target 'tools' failed
make[4]: *** [tools] Error 2
make[4]: Leaving directory
'/home/riso3860/source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2
010.03'
Makefile:31: recipe for target
'/home/riso3860/source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-bo
ot-2010.03/.built' failed
make[3]: *** [/home/riso3860/source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/.built]
Error 2
make[3]: Leaving directory '/home/riso3860/source/package/boot/uboot-ar71xx'
package/Makefile:109: recipe for target
'package/boot/uboot-ar71xx/compile' failed
make[2]: *** [package/boot/uboot-ar71xx/compile] Error 2
make[2]: Leaving directory '/home/riso3860/source'
package/Makefile:105: recipe for target
'/home/riso3860/source/staging_dir/target-mips_24kc_musl/stamp/.package_comp
ile' failed
make[1]: *** [/home/riso3860/source/staging_dir/target-mips_24kc_musl/stamp/.package_compile]
Error 2
make[1]: Leaving directory '/home/riso3860/source'
/home/riso3860/source/include/toplevel.mk:199: recipe for target 'world' failed
make: *** [world] Error 2
~/source - [master] » ./scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_Default=y
CONFIG_IB=y
CONFIG_IB_STANDALONE=y
~/source - [master] » ./scripts/getver.sh
r3922-9613d97


regards
Martin



More information about the Lede-dev mailing list