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

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

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

In message 1160761389.28703.4.camel@localhost.localdomain you wrote:
I've made an upgrade of my debian testing. It muts have change something in my cross compilation tools because now the :
...
I've try to untar the original toolchain tarball to reinstall that tool chain but the error is still present.
Any suggestion?
Please downloads the top-of-tree version of U-Boot from the git repository; the problem is fixed there.
Best regards,
Wolfgang Denk

Dear Wolfgang,
Sorry to coming back to you with such a basic question.
I download the u-boot source code using following command : #git-clone git://www.denx.de/git/u-boot.git u-boot
As you must know this command did not import the top of tree.
Could you please tel me how to dowload top of tree?
(I did not succeed to find tutorial.html in /usr/share/doc/git-core)
Thank you in advance
Chris
Le lundi 16 octobre 2006 à 09:15 +0200, Wolfgang Denk a écrit :
In message 1160761389.28703.4.camel@localhost.localdomain you wrote:
I've made an upgrade of my debian testing. It muts have change something in my cross compilation tools because now the :
...
I've try to untar the original toolchain tarball to reinstall that tool chain but the error is still present.
Any suggestion?
Please downloads the top-of-tree version of U-Boot from the git repository; the problem is fixed there.
Best regards,
Wolfgang Denk

In message 1161012809.7397.3.camel@Serge-Linux you wrote:
I download the u-boot source code using following command : #git-clone git://www.denx.de/git/u-boot.git u-boot
As you must know this command did not import the top of tree.
It did, and more. Actually it downlaoded the complete repository, i. e. *all* existing versions.
Could you please tel me how to dowload top of tree?
You already did.
(I did not succeed to find tutorial.html in /usr/share/doc/git-core)
It's /usr/share/doc/git-core-<version>", for example /usr/share/doc/git-core-1.4.2.1/core-tutorial.html /usr/share/doc/git-core-1.4.2.1/tutorial.html /usr/share/doc/git-core-1.4.2.1/tutorial-2.html
Try "git checkout".
Best regards,
Wolfgang Denk
participants (4)
-
alayrac
-
alayrac christophe
-
Ben Warren
-
Wolfgang Denk