[U-Boot-Users] U-Boot compile error using m68k-elf-gcc 3.4

Vincent Ng vincent.ng at okulus.com
Thu Jul 1 00:13:30 CEST 2004

Hi all,

I'm a newbie so please bear with me, as I'm sure it's a simple thing I've
Trying to compile u-boot 1.1.1 for Avnet 5282EVB 
The following error seems to be caused by toolchain (library?) setup:

$make M5282EVB_config

m68k-elf-ld -g  -Ttext 0x20000  -L
        -o hello_world -e hello_world hello_world.o libstubs.a \
        -L/usr/local/m68k-uclinux-tools/lib/gcc/m68k-uclinux/3.4.0 -lgcc
hello_world.o(.text+0x22): In function `hello_world':
/home/vng/u-boot-1.1.1/examples/hello_world.c:33: undefined reference to
undefined reference to `get_version'
undefined reference to `printf'
make[1]: *** [hello_world] Error 1
make[1]: Leaving directory `/home/vng/u-boot-1.1.1/examples'
make: *** [examples] Error 2

Additional Info:
Host Fedora Core 2 (2.6.6-1.427)
M68k-elf-gcc 3.4.0
M68k-elf-ld 20040114
Gcc 3.3.3 20040412
Ld 20040415

I've also successfully built uclinux (20040408, kernel 2.4) and loaded onto
the board using the same toolchain.

Any help/pointer is greatly appreciated!



More information about the U-Boot mailing list