[U-Boot-Users] Compile Error

Howdy,
I downloaded and installed the ELDK. My board is Motorola FADS860T. I did:
install ppc_8xx in ELDK, make FADS860T_config in U-Boot, make all.
Here is what I got:
ppc_8xx-gcc -g -Os -mrelocatable -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x02800000 -I/opt/daljxu/u-boot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/daljxu/ELDK/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft-float -Wall -Wstrict-prototypes -c -o timer.o timer.c {standard input}: Assembler messages: {standard input}:19: Error: Relocation cannot be done when using -mrelocatable make[1]: *** [timer.o] Error 1 rm sched.o hello_world.o make[1]: Leaving directory `/mnt/sda/daljxu/u-boot/u-boot-1.0.0/examples' make: *** [subdirs] Error 1
Do I miss something in the build process?
Thanks,
Jim
_________________________ Jim Xu, SMTS-SW Flextronics International Phone: (469) 229-2154 Email: jim.xu@flextronics.com mailto:jim.xu@flextronics.com

Dear Jim,
in message 75490FAA49820647AB2BAFEFE08BFABC0CD98D@dalnt225.dal.flextronics.com you wrote:
I downloaded and installed the ELDK. My board is Motorola FADS860T. I did:
...
{standard input}:19: Error: Relocation cannot be done when using -mrelocatable
Seems you are using the new (3.0) ELDK which is based on GCC-3.x with an old version of U-boot.
Do I miss something in the build process?
Your U-Boot sources are too old for this compiler. GCC-3.x requires a few adaptions which were added in later versions of U-Boot. See for example the source tree (1.0.2) which is included with the ELDK.
------_=_NextPart_001_01C3FAEC.4DA52400 Content-Type: text/html; charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
And PLEASE do NOT post HTML!!
Best regards,
Wolfgang Denk
participants (2)
-
Jim Xu
-
Wolfgang Denk