Skip to contentSkip to conversation

U-Boot compilation error

U-Boot-Users alayrac christophe 3 participants 5 messages Oct 13, 2006 – Oct 16, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Chris,

Quoted 13 lines · alayrac christophe

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

Quoted 10 lines

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

#2 lore raw
In reply to alayrac christophe
Quoted 3 lines · In message <[email protected]> you wrote:

I've made an upgrade of my debian testing. It muts have change something in my cross compilation tools because now the :

...

Quoted 4 lines

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

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Documentation is the castor oil of programming.
Managers know it must be good because the programmers hate it so much.
author
#3 lore raw

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 :

Quoted 17 lines
Quoted 3 lines · In message <[email protected]> you wrote:

I've made an upgrade of my debian testing. It muts have change something in my cross compilation tools because now the :

...

Quoted 4 lines

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

#4 lore raw
Quoted 5 lines · 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.

Quoted 1 line

Could you please tel me how to dowload top of tree?

You already did.

Quoted 1 line

(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

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I used to think that the brain was the most wonderful  organ  in  my
body. Then I realized who was telling me this."        - Emo Phillips