Skip to contentSkip to conversation

PPC-8xx cross compiler U-boot error

U-Boot-Users 王勝弘 2 participants 4 messages Mar 4, 2004 – Mar 5, 2004

lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · In message <005301c401c9$0c7dc5c0$5e01fea9@samnote> you wrote:

I have install the ELDK3.0. And, I want to build the ppcboot.

...

Quoted 3 lines

{standard input}: 4998: Error: Relocation cannot be done when using -mrelocatable

Why I can't compiler the ppcboot?

PPCBoot cannot be compiled with more recent (3.x) compilers. PPCBoot is a dead project so please don't be surprised.

Please use a recent version of U-Boot instead.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Never call a man a fool.  Borrow from him.
author
#2 lore raw

Thank you. But I still can't compiler it.
Redhat 7.3
ELDK 3.0 ppc-2004-02-16.iso
u-boot-1.0.0
.....
make all
.....
{standard input}: Assembler messages:
{standard input}: 19: Error: Relocation cannot be done when using -mrelocatable
make[1]: *** [timer.o] Error 1
make[1]: Leaving directory `/opt/eldk/usr/src/u-boot-1.0.0/examples

Did I miss something?

Best regards,
Sam Wang

Quoted 4 lines
Quoted 2 lines

I have install the ELDK3.0. And, I want to build the ppcboot.

...

Quoted 1 line

{standard input}: 4998: Error: Relocation cannot be done when

using -mrelocatable

Quoted 17 lines
Quoted 2 lines

Why I can't compiler the ppcboot?

PPCBoot cannot be compiled with more recent (3.x) compilers. PPCBoot is a dead project so please don't be surprised.

Please use a recent version of U-Boot instead.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Never call a man a fool.  Borrow from him.
#3 lore raw
Quoted 1 line · In message <005601c4025b$a9461b40$5e01fea9@samnote> you wrote:

Thank you. But I still can't compiler it.

...

Quoted 1 line

u-boot-1.0.0

...

Quoted 1 line

Did I miss something?

Yes, you missed what I typed:

Quoted 1 line
Quoted 1 line

Please use a recent version of U-Boot instead.

                 ^^^^^^

Please use a _R_E_C_E_N_T_ version of U-Boot. For example, just use the U-Boot sources that come included with the ELDK.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
A witty saying proves nothing, but saying  something  pointless  gets
people's attention.