Hi Dave,
 
Thanks for the advice. In my environment.c there is an #include <linux/config.h>. So if I correct this to #include "config.h" it should work fine. The revision I have checked out from subversion is 1226.
 
regards Christian
 

--------------------------------------8<-----------------------------------------------------

Christian Kleegrewe
CT IC 6
Fon: +49 89 636 42722
Fax: +49 89 636 41423
Mail: mailto:christian.kleegrewe@siemens.com

Siemens Aktiengesellschaft:
Vorsitzender des Aufsichtsrats: Heinrich v. Pierer;
Vorstand: Klaus Kleinfeld, Vorsitzender; Johannes Feldmayer, Joe Kaeser, Rudi Lamprecht, Eduardo Montes, Jürgen Radomski, Erich R. Reinhardt, Hermann Requardt, Uriel J. Sharef, Klaus Wucherer

Sitz der Gesellschaft: Berlin und München
Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684
WEEE-Reg.-Nr. DE 23691322

 


Von: gumstix-users-bounces@lists.sourceforge.net [mailto:gumstix-users-bounces@lists.sourceforge.net] Im Auftrag von Kleegrewe, Christian
Gesendet: Mittwoch, 17. Januar 2007 17:20
An: gumstix-users@lists.sourceforge.net
Betreff: [Gumstix-users] Missing #define CFG_ENV_SIZE

Hi all,

Here is another question concerning the toolchain build process on an ubuntu 6.06 system. When compiling the file environment.c in the gumstix-buildroot/build_arm_nofpu/u-boot-1.1.4/tools directory there is an error raised from environment.h

In file included from environment.c:30:
../include/environment.h:87: error: 'CFG_ENV_SIZE' undeclared here (not in a function)
make[2]: *** [environment.o] Error 1

I had a look in  the environment.c file and here is the only #include directive before environment.h the linux/config.h. In linux/config.h there is only linux/autoconf included which does not contain any definition for CFG_ENV_SIZE. I also can not see any definition for CFG_ENV_SIZE in the makefiles. So here is my question. Where is CFG_ENV_SIZE defined? There are tow other posts in this mailing list dealing with a similar problem but there has not been any answer posted.

Any help will be appreciated

Regards Christian

--------------------------------------8<-----------------------------------------------------

Christian Kleegrewe
CT IC 6
Fon: +49 89 636 42722
Fax: +49 89 636 41423
Mail: mailto:christian.kleegrewe@siemens.com

Siemens Aktiengesellschaft:
Vorsitzender des Aufsichtsrats: Heinrich v. Pierer;
Vorstand: Klaus Kleinfeld, Vorsitzender; Johannes Feldmayer, Joe Kaeser, Rudi Lamprecht, Eduardo Montes, Jürgen Radomski, Erich R. Reinhardt, Hermann Requardt, Uriel J. Sharef, Klaus Wucherer

Sitz der Gesellschaft: Berlin und München
Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684
WEEE-Reg.-Nr. DE 23691322