[U-Boot-Users] build failure in tools - missing CFG_ENV_SIZE ?

Andre Schwarz andre.schwarz at matrix-vision.de
Thu Jun 5 17:40:27 CEST 2008


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




More information about the U-Boot mailing list