Wolfgang,

thanks for your verification. Trying to do it your way gives :

nova u-boot-clean # CROSS_COMPILE=ppc_6xx- sh MAKEALL TQM5200 MPC8349ITX
Configuring for TQM5200 board...
In file included from environment.c:30:
/home/u-boot-clean/include/environment.h:107: error: 'CFG_ENV_SIZE'
undeclared here (not in a function)
make[1]: *** [environment.o] Error 1
make: *** [tools] Error 2
ppc_6xx-size: './u-boot': No such file
Configuring for MPC8349ITX board...
In file included from environment.c:30:
/home/u-boot-clean/include/environment.h:107: error: 'CFG_ENV_SIZE'
undeclared here (not in a function)
make[1]: *** [environment.o] Error 1
make: *** [tools] Error 2
ppc_6xx-size: './u-boot': No such file


Obviously it's a problem regarding include mechanism.
Changing line 28 in common/environment.c ( <config.h> ->
"../include/config.h") gives positive result :

nova u-boot-clean # CROSS_COMPILE=ppc_6xx- sh MAKEALL TQM5200 MPC8349ITX
Configuring for TQM5200 board...
   text    data     bss     dec     hex filename
 326532   32464  315024  674020   a48e4 ./u-boot
Configuring for MPC8349ITX board...
   text    data     bss     dec     hex filename
 217741   15388  223684  456813   6f86d ./u-boot


Unfortunately I'm not a Makefile expert ... do you have any ideas ?

regards,
Andre


Wolfgang Denk schrieb:
> In message <[EMAIL PROTECTED]> you wrote:
>   
>> 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=3Dppc_6xx- "
>>
>> cross-compiler is gcc 4.0 as shipped with ELDK 4.1.
>>     
>
> Hm. Let's see:
>
> -> MAKEALL TQM5200 MPC8349ITX
> Configuring for TQM5200 board...
>    text    data     bss     dec     hex filename
>  326532   32456  315024  674012   a48dc ./u-boot
> Configuring for MPC8349ITX board...
>    text    data     bss     dec     hex filename
>  217741   15388  223684  456813   6f86d ./u-boot
>
> That's U-Boot 1.3.3-00117-g8155efb
>
>   
>> Can someome help me out please ?
>>     
>
> Sorry, I cannot reproduce the problem.
>
> Best regards,
>
> Wolfgang Denk
>
>   


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: 
Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to