[FS#1047] u-boot-nbg460n_550n_550nh bails out on CONFIG_ENV_SIZE error

LEDE Bugs lede-bugs at lists.infradead.org
Sat Oct 7 17:48:57 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Weedy (weedy) 

Attached to Project - LEDE Project
Summary - u-boot-nbg460n_550n_550nh bails out on CONFIG_ENV_SIZE error
Task Type - Build Failure
Category - Toolchain
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - After doing my monthly distclean I've had a couple issues. 
It started with some host glibc #include sys/sysmacros.h crap that was easy to work around and has come to this which I know nothing about.


make -C tools all
make[5]: Entering directory '/home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/tools'
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include -idirafter /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include2 -idirafter /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include -I /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/libfdt -I /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/tools -DTEXT_BASE=0x81E00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o crc32.o /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/lib_generic/crc32.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include -idirafter /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include2 -idirafter /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include -I /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/libfdt -I /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/tools -DTEXT_BASE=0x81E00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o env_embedded.o /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/common/env_embedded.c
In file included from /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/common/env_embedded.c:30:0:
/home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include/environment.h:137:21: error: 'CONFIG_ENV_SIZE' undeclared here (not in a function)
  unsigned char data[ENV_SIZE]; /* Environment data  */
                     ^
make[5]: *** [Makefile:197: env_embedded.o] Error 1
make[5]: Leaving directory '/home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/tools'
make[4]: *** [Makefile:364: tools] Error 2
make[4]: Leaving directory '/home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03'
make[3]: *** [Makefile:36: /home/weedy/projects/openwrt-lede/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/.built] Error 2
make[3]: Leaving directory '/home/weedy/projects/openwrt-lede/package/boot/uboot-ar71xx'
make[2]: *** [package/Makefile:111: package/boot/uboot-ar71xx/compile] Error 2
make[2]: Leaving directory '/home/weedy/projects/openwrt-lede'
make[1]: *** [package/Makefile:105: /home/weedy/projects/openwrt-lede/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/weedy/projects/openwrt-lede'
make: *** [/home/weedy/projects/openwrt-lede/include/toplevel.mk:209: world] Error 2


I'm building ar71xx for ubnt-rspro, tl-wdr4300-v1, tl-wr842n-v2, and wndr3700.

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



More information about the lede-bugs mailing list