[U-Boot-Users] U-Boot compilation error

Ben Warren bwarren at qstreams.com
Fri Oct 13 18:09:15 CEST 2006


Chris,


On Fri, 2006-10-13 at 19:43 +0200, alayrac christophe wrote:
> Hi all.
> 
> I've made an upgrade of my debian testing. It muts have change something
> in my cross compilation tools because now the :
>  make ARCH=ppc CROSS_COMPILE=powerpc-405-linux-gnu-
> comes withe the error message (sorry its french)
> make -C examples all
> make[1]: entrant dans le répertoire « /home/alayrac/u-boot/examples »
> make[1]: *** Pas de règle pour fabriquer la cible « hello_world.srec »,
> nécessaire pour « all ». Arrêt.
> make[1]: quittant le répertoire « /home/alayrac/u-boot/examples »
> make: *** [examples] Erreur 2
> 
> I use scratchbow powerpc 405 tool chain with gcc version 3.4.4 and glibc
> 2.3.5.
> I've try to untar the original toolchain tarball to reinstall that tool
> chain but the error is still present.
> 
> Any suggestion?
> 
> Chris
> 
> 
This is due to a much-discussed 'make' problem with version 3.81+.
U-boot patches have been submitted, rejected and possibly on the way to
being included (I can't remember Wolfgang's current take on this).  If
you don't need the examples, the quick fix for now is to delete the line
'examples \' from the SUBDIRS list in the root Makefile.  If you search
the e-mail archives you'll find patches that will fix the problem more
'properly'.  Alternatively, revert to make v3.80 that is included in
Sarge.

regards,
Ben






More information about the U-Boot mailing list