From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Hawkins Date: 22 Jun 2004 14:09:38 +0100 Subject: [U-Boot-Users] Problem compiling examples Message-ID: <1087909778.1996.15.camel@adh> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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