[U-Boot-Users] Fail to compile u-boot with lart_config

I downloaded all version of u-boot that was uploaded at sourceforge.
And tried to compile those sources.
With
(# make clobber)
# make lart_config
# make all
I'm using Lart compatible board (SA1100) and..
gcc 2.96 (@ host)
Arm-linux-gcc ver 2.95.2
redhat 7.3 kernel 2.4.18-3
The error message are below.
Answer me plz.
======================= ver 0.4.0 =============================
syscall.S:6: warning: #warning ARM version not implemented yet
In file included from cmd_scsi.c:34:
/root/work/u-boot-0.4.0/include/asm/processor.h:52: parse error before `1'
/root/work/u-boot-0.4.0/include/asm/processor.h:52: warning: no semicolon at end of struct or union
/root/work/u-boot-0.4.0/include/asm/processor.h:54: parse error before `}'
/root/work/u-boot-0.4.0/include/asm/processor.h:58: field `insn' has incomplete type
make[1]: *** [cmd_scsi.o] Error 1
make: *** [subdirs] Error 1
======================= ver 0.3.0 =============================
syscall.S:6: warning: #warning ARM version not implemented yet
interrupts.c: In function `show_regs':
interrupts.c:119: warning: implicit declaration of function `thumb_mode'
/root/download/u-boot-0.3.0/examples/syscall.S:6: warning: #warning ARM version not implemented yet
cpu/sa1100/libsa1100.a(interrupts.o): In function `show_regs':
/root/download/u-boot-0.3.0/cpu/sa1100/interrupts.c:115: undefined reference to `thumb_mode'
/root/download/u-boot-0.3.0/cpu/sa1100/interrupts.c:115: relocation truncated to fit: R_ARM_PC24 thumb_mode
make: *** [u-boot] Error 1
======================= ver 0.2.0 (same with 0.3.0)==============
syscall.S:6: warning: #warning ARM version not implemented yet
interrupts.c: In function `show_regs':
interrupts.c:119: warning: implicit declaration of function `thumb_mode'
/root/download/u-boot-0.2.0/examples/syscall.S:6: warning: #warning ARM version not implemented yet
cpu/sa1100/libsa1100.a(interrupts.o): In function `show_regs':
/root/download/u-boot-0.2.0/cpu/sa1100/interrupts.c:115: undefined reference to `thumb_mode'
/root/download/u-boot-0.2.0/cpu/sa1100/interrupts.c:115: relocation truncated to fit: R_ARM_PC24 thumb_mode
make: *** [u-boot] Error 1

In message 200310240800.h9O8044j001081@tiger1.nownuri.net you wrote:
I downloaded all version of u-boot that was uploaded at sourceforge. And tried to compile those sources. With (# make clobber) # make lart_config # make all
...
The error message are below.
Answer me plz.
Seems you have some major problems with your toolchain. I can compile all these versions just fine; I'm using the ARM version of our ELDK, available at ftp://ftp.leo.org/pub/eldk/2.1.0/eldk-arm-linux-x86/
Best regards,
Wolfgang Denk
participants (2)
-
jaehyun cho
-
Wolfgang Denk