All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Hawkins <a.hawkins@cabletime.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problem compiling examples
Date: 22 Jun 2004 14:09:38 +0100	[thread overview]
Message-ID: <1087909778.1996.15.camel@adh> (raw)

Hi all,

Typical...I tried to recreate the problem with compiling the standalone
examples and couldn't. However, as soon as I sent the previous e-mail, I
realised I had other source trees around. I tried compiling one of
those, and got this error (apologies for the horrible formatting, it's a
very long compile command).

ppc_405-gcc -g  -Os   -fPIC -ffixed-r14 -meabi -D__KERNEL__
-DTEXT_BASE=0xFFFC0000 -I/usr/src/u-boot-evo/u-boot-1.1.0-orig/include
-fno-builtin -ffreestanding -nostdinc -isystem
/opt/montavista/pro/devkit/ppc/405/bin/../lib/gcc-lib/powerpc-hardhat-linux/3.3.1/include -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring -Wa,-m405 -mcpu=405 -msoft-float -Wall -Wstrict-prototypes -g  -Os   -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0xFFFC0000 -I/usr/src/u-boot-evo/u-boot-1.1.0-orig/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/montavista/pro/devkit/ppc/405/bin/../lib/gcc-lib/powerpc-hardhat-linux/3.3.1/include -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring -Wa,-m405 -mcpu=405 -msoft-float -I.. -Bstatic -T /usr/src/u-boot-evo/u-boot-1.1.0-orig/board/dave/PPChameleonEVB/u-boot.lds -Ttext 0xFFFC0000  -n  hello_world.c   -o hello_world
ppc_405-gcc: 0xFFFC0000: No such file or directory
/opt/montavista/pro/devkit/ppc/405/bin/../lib/gcc-lib/powerpc-hardhat-linux/3.3.1/../../../../powerpc-hardhat-linux/bin/as: option `-n' is ambiguous
make[1]: *** [hello_world] Error 2

This is compiling using MontaVista Pro 3.1, U-Boot 1.1.0, configured for
a PPChameleonEVB board using

make PPChameleonEVB_config

Hope this helps in tracking down the problem...not sure the other tree
(that I've modified to provide support for our custom hardware) compiles
Ok...

Andy

             reply	other threads:[~2004-06-22 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22 13:09 Andy Hawkins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-20 12:19 [U-Boot-Users] problem compiling examples Josef.Baumgartner at de.telex.com
2006-07-20 15:49 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1087909778.1996.15.camel@adh \
    --to=a.hawkins@cabletime.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.