All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] U-Boot compilation error
  2006-10-13 17:43 [U-Boot-Users] U-Boot compilation error alayrac christophe
@ 2006-10-13 16:09 ` Ben Warren
  2006-10-16  7:15 ` Wolfgang Denk
  1 sibling, 0 replies; 8+ messages in thread
From: Ben Warren @ 2006-10-13 16:09 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] U-Boot compilation error
@ 2006-10-13 17:43 alayrac christophe
  2006-10-13 16:09 ` Ben Warren
  2006-10-16  7:15 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: alayrac christophe @ 2006-10-13 17:43 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] U-Boot compilation error
  2006-10-13 17:43 [U-Boot-Users] U-Boot compilation error alayrac christophe
  2006-10-13 16:09 ` Ben Warren
@ 2006-10-16  7:15 ` Wolfgang Denk
  2006-10-16 15:33   ` alayrac
  1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2006-10-16  7:15 UTC (permalink / raw)
  To: u-boot

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

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] U-Boot compilation error
  2006-10-16  7:15 ` Wolfgang Denk
@ 2006-10-16 15:33   ` alayrac
  2006-10-16 20:17     ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: alayrac @ 2006-10-16 15:33 UTC (permalink / raw)
  To: u-boot

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
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] U-Boot compilation error
  2006-10-16 15:33   ` alayrac
@ 2006-10-16 20:17     ` Wolfgang Denk
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2006-10-16 20:17 UTC (permalink / raw)
  To: u-boot

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

-- 
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] U-Boot Compilation error
@ 2008-06-10 13:29 Vijay Srivastava
  2008-06-10 14:29 ` Jerry Van Baren
  2008-06-10 18:20 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Vijay Srivastava @ 2008-06-10 13:29 UTC (permalink / raw)
  To: u-boot

Hi,

I am trying to compile uboot version 1.1.3 for ppc_870 board with the
following settings
bash$ export CROSS_COMPILE=ppc_8xx-
bash$ export PATH=${PATH}:/opt/eldk/bin:/opt/eldk/usr/bin

But I am getting following error:

make txc870_config

---------------------------------------------------------
unrecognized option
make:  *** [txc870_config] Error 1
---------------------------------------------------------

I added following lines in the Makefile to support my eval ppc870 board
(txc870)



--------------------------------------------------------------------------------------

#########################################################################
## MPC8xx Systems
#########################################################################

txc860_config:    unconfig
    @./mkconfig $(@:_config=) ppc mpc8xx txc860

txc870_config: unconfig
    @./mkconfig $(@:_config=) ppc mpc8xx txc870

-------------------------------------------------------------------------------------

Also I tried for AMX860 with the following command
make AMX860_config

but got the same result...


Please indicate if I missed something or what what else is required ?


Thanks
Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080610/c9b67ab2/attachment.htm 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] U-Boot Compilation error
  2008-06-10 13:29 [U-Boot-Users] U-Boot Compilation error Vijay Srivastava
@ 2008-06-10 14:29 ` Jerry Van Baren
  2008-06-10 18:20 ` Wolfgang Denk
  1 sibling, 0 replies; 8+ messages in thread
From: Jerry Van Baren @ 2008-06-10 14:29 UTC (permalink / raw)
  To: u-boot

Vijay Srivastava wrote:
> 
> 
> Hi,
> 
> I am trying to compile uboot version 1.1.3 for ppc_870 board with the 
> following settings
> bash$ export CROSS_COMPILE=ppc_8xx-
> bash$ export PATH=${PATH}:/opt/eldk/bin:/opt/eldk/usr/bin
> 
> But I am getting following error:
> 
> make txc870_config

What does the command "which make" say?  Are you running the "make" 
program that you expect?

What does "make --version" say?

FWIIW, on my debian system I see (note that we are using the native make 
to do the cross compile):

$ which make
/usr/bin/make

$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu

Best regards,
gvb

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] U-Boot Compilation error
  2008-06-10 13:29 [U-Boot-Users] U-Boot Compilation error Vijay Srivastava
  2008-06-10 14:29 ` Jerry Van Baren
@ 2008-06-10 18:20 ` Wolfgang Denk
  1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2008-06-10 18:20 UTC (permalink / raw)
  To: u-boot

In message <2bdb3520806100629v5c07575ai2dde17f305a00e1@mail.gmail.com> you wrote:
> 
> I am trying to compile uboot version 1.1.3 for ppc_870 board with the

There is no such board as "ppc_870" in the U-Boot source tree.

> make txc870_config

There is no such target as "txc870" in the U-Boot source tree.

> unrecognized option
> make:  *** [txc870_config] Error 1

It seemd your Makefile was modified, and bugs introduced.

> I added following lines in the Makefile to support my eval ppc870 board
> (txc870)

This is not sufficient to port U-Boot for new hardware. Please read
the README and the other documentation.

> Also I tried for AMX860 with the following command
> make AMX860_config
> 
> but got the same result...

This is then a result of your incorrect modigications. The unmodified
1.1.3 U-Boot source tree builds just fine.

> ------=_Part_18146_561575.1213104560034
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline

Please never post HTML here.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Here's a fish hangs in the net like a poor man's right in  the  law.
'Twill hardly come out."     - Shakespeare, Pericles, Act II, Scene 1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-06-10 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-13 17:43 [U-Boot-Users] U-Boot compilation error alayrac christophe
2006-10-13 16:09 ` Ben Warren
2006-10-16  7:15 ` Wolfgang Denk
2006-10-16 15:33   ` alayrac
2006-10-16 20:17     ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2008-06-10 13:29 [U-Boot-Users] U-Boot Compilation error Vijay Srivastava
2008-06-10 14:29 ` Jerry Van Baren
2008-06-10 18:20 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.