[U-Boot] Compiling api_examples/demo

Jon Smirl jonsmirl at gmail.com
Fri Mar 20 02:56:27 CET 2009


What's the right way to compile api_examples/demo?

I get this error....

jonsmirl at terra:/home/apps/u-boot$ make api_examples/demo
powerpc-603e-linux-gnu-gcc -g  -Os   -fPIC -ffixed-r14 -meabi
-D__KERNEL__ -DTEXT_BASE=0xFFF00000 -I/home/apps/u-boot/include
-fno-builtin -ffreestanding -nostdinc -isystem
/opt/OSELAS.Toolchain-1.1.1/powerpc-603e-linux-gnu/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/powerpc-603e-linux-gnu/4.1.2/include
-pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC5xxx -ffixed-r2 -mstring
-mcpu=603e -mmultiple -DTEXT_BASE=0xFFF00000 -I/home/apps/u-boot/board
-Wall -Wstrict-prototypes -fno-stack-protector -g  -Os   -fPIC
-ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0xFFF00000
-I/home/apps/u-boot/include -fno-builtin -ffreestanding -nostdinc
-isystem /opt/OSELAS.Toolchain-1.1.1/powerpc-603e-linux-gnu/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/powerpc-603e-linux-gnu/4.1.2/include
-pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC5xxx -ffixed-r2 -mstring
-mcpu=603e -mmultiple -DTEXT_BASE=0xFFF00000 -I/home/apps/u-boot/board
-Bstatic -T /home/apps/u-boot/cpu/mpc5xxx/u-boot.lds  -n -Ttext
0xFFF00000  api_examples/demo.c   -o api_examples/demo
powerpc-603e-linux-gnu-gcc: 0xFFF00000: No such file or directory
/opt/OSELAS.Toolchain-1.1.1/powerpc-603e-linux-gnu/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/powerpc-603e-linux-gnu/4.1.2/../../../../powerpc-603e-linux-gnu/bin/as:
option '-n' is ambiguous
make: *** [api_examples/demo] Error 2
jonsmirl at terra:/home/apps/u-boot$


-- 
Jon Smirl
jonsmirl at gmail.com


More information about the U-Boot mailing list