[U-Boot-Users] icecube compile problem
zhonglei
zhonglei at RCS-9000.COM
Tue Nov 2 02:54:10 CET 2004
Hi all:
I am compiling U-boot for my LITE5200(icecube) board.The compile error messages are as fellows:
[root at 198 u-boot]# make icecube_5200_LOWBOOT_config
... with LOWBOOT configuration
... with MPC5200 processor
Configuring for IceCube board...
[root at 198 u-boot]# make
make[1]: Entering directory `/home/zl/ELDK-dir/usr/src/u-boot/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/zl/ELDK-dir/usr/src/u-boot/tools'
make[1]: Entering directory `/home/zl/ELDK-dir/usr/src/u-boot/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/zl/ELDK-dir/usr/src/u-boot/examples'
make[1]: Entering directory `/home/zl/ELDK-dir/usr/src/u-boot/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/zl/ELDK-dir/usr/src/u-boot/post'
make[1]: Entering directory `/home/zl/ELDK-dir/usr/src/u-boot/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/zl/ELDK-dir/usr/src/u-boot/post/cpu'
make -C tools all
make[1]: Entering directory `/home/zl/ELDK-dir/usr/src/u-boot/tools'
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x00020000 -DUSE_HOSTCC -O -c envcrc.c
gcc -g -idirafter ../include -DTEXT_BASE=0x00020000 -DUSE_HOSTCC -c environment.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x00020000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
make[1]: Leaving directory `/home/zl/ELDK-dir/usr/src/u-boot/tools'
make -C examples all
make[1]: Entering directory `/home/zl/ELDK-dir/usr/src/u-boot/examples'
ppc-linux-gcc -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x00020000 -I/home/zl/ELDK-dir/usr/src/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /home/zl/ELDK-dir/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC5xxx -ffixed-r2 -ffixed-r29 -mstring -mcpu=603e -mmultiple -DTEXT_BASE=0x00020000 -I/home/zl/ELDK-dir/usr/src/u-boot/board -Wall -Wstrict-prototypes -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x00020000 -I/home/zl/ELDK-dir/usr/src/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /home/zl/ELDK-dir/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC5xxx -ffixed-r2 -ffixed-r29 -mstring -mcpu=603e -mmultiple -DTEXT_BASE=0x00020000 -I/home/zl/ELDK-dir/usr/src/u-boot/board -I.. -Bstatic -T /home/zl/ELDK-dir/usr/src/u-boot/board/icecube/u-boot.lds -Ttext 0x00020000 -n hello_world.c -o hello_world
ppc-linux-gcc: 0x00020000: No such file or directory
/home/zl/ELDK-dir/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/../../../../ppc-linux/bin/as: option `-n' is ambiguous
make[1]: *** [hello_world] Error 2
make[1]: Leaving directory `/home/zl/ELDK-dir/usr/src/u-boot/examples'
make: *** [examples] Error 2
[root at 198 u-boot]#
Any one can help? Thanks in advance!
Best regards,
zhonglei
More information about the U-Boot
mailing list