Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
openwrt-bot opened this issue Oct 8, 2017 · 1 comment
Closed
Labels

Comments

@openwrt-bot
Copy link

weedy:

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.

@openwrt-bot
Copy link
Author

acoul:

you may be able to get around this by using this tree: https://git.lede-project.org/?p=source.git;a=tree;f=package/boot/uboot-ar71xx;hb=720b99215da295a2e7b4acdef30b58bec6acedc2 until this issue is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant