From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Schwarz Date: Thu, 05 Jun 2008 17:40:27 +0200 Subject: [U-Boot-Users] build failure in tools - missing CFG_ENV_SIZE ? Message-ID: <484808EB.8060904@matrix-vision.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de All, after getting a clean u-boot clone (1.3.3 today) I get a compile error in "tools" subdir. I've tried 2 different boards making a "TQM5200_config" and "MPC8349ITX_config" - just to make sure ... "make CROSS_COMPILE=ppc_6xx- " cross-compiler is gcc 4.0 as shipped with ELDK 4.1. Am I missing something ? Since environment.c includes config.h which pulls in board config everything should be fine. Can someome help me out please ? ---- make[1]: Entering directory `/home/u-boot.git/tools' gcc -g -idirafter /home/u-boot.git/include -idirafter /home/u-boot.git/include2 -idirafter /home/u-boot.git/include -DTEXT_BASE=0xFC000000 -DUSE_HOSTCC -c -o environment.o environment.c In file included from environment.c:30: /home/u-boot.git/include/environment.h:107: error: 'CFG_ENV_SIZE' undeclared here (not in a function) make[1]: *** [environment.o] Error 1 make[1]: Leaving directory `/home/u-boot.git/tools' make: *** [tools] Error 2 regards, Andre Schwarz MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner