icecube compile problem
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
Quoted 2 lines · In message <[email protected]> you wrote:
I am compiling U-boot for my LITE5200(icecube) board.The compile error messages are as fellows:
...
Quoted 2 lines
[root at 198 u-boot]#
Any one can help? Thanks in advance!
Get a tested and known to be working tool chain.
And another recommendation: do not run standard development tasks as "root"!!!
Best regards,
Wolfgang Denk
Signature · 4 lines
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513 Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There's another way to survive. Mutual trust -- and help. -- Kirk, "Day of the Dove", stardate unknown