[U-Boot-Users] Problem compiling examples

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
participants (1)
-
Andy Hawkins