Hi!

Trying to compile buildroot to be able to fix the
problem with failsafe mode not responding 
on my TL-WR1043ND v2 here (Think the problem
is that this device needs to use eth1, not eth0, as the
failsafe port..)

Anyway I ran into problems here and the most difficult one is the
following:

=======================================
make[5]: Entering directory `/ata/OpenWRT/trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-
boot-2010.03/tools'
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter 
/ata/OpenWRT/trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include -idirafter 
/ata/OpenWRT/trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include2 -idirafter 
/ata/OpenWRT/trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03/include -I 
/ata/OpenWRT/trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03/libfdt -I 
/ata/OpenWRT/trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03/tools -
DTEXT_BASE=0x81E00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o 
env_embedded.o /ata/OpenWRT/trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-
boot-2010.03/common/env_embedded.c
In file included from /ata/OpenWRT/trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-
boot-2010.03/common/env_embedded.c:30:0:
/ata/OpenWRT/trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
ar71xx_generic/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]: *** [env_embedded.o] Error 1
=======================================

Obviousely I would need to pick up CONFIG_ENV_SIZE from somewhere,
but cannot find the reason it is undefined as I did set the
target profile to TLWR1043 and expected that to take care of the
difficult setiings/constants.

Please help!
Dag
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to