[U-Boot-Users] U-boot hello_world won't link.

Goedde Kirby (TTE) kirby.goedde at thomson.net
Fri May 20 16:45:28 CEST 2005


I'm new to the group;  I am sure someone has asked this question before, but I can't find an answer.

I am using the ARM9 based TVP9000 processor.  

When I try to make the /examples directory of u-boot I get the following errors.   I assume I am missing 
some dependencies in my make file.  Has anyone else gotten this  to work on the ARM processor?
______________________________________________________________________________________________

make[1]: Entering directory `/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples'
armv4tb-softfloat-linux-gnu-ld -g  -Ttext 0xc100000 \
	-o hello_world -e hello_world hello_world.o libstubs.a \
	-L/opt/toolchain/armv4tb-softfloat-linux-gnu/gcc-3.4.0-glibc-2.3.2/bin/../lib/gcc/armv4tb-softfloat-linux-gnu/3.4.0 -lgcc
hello_world.o(.text+0x1c): In function 'hello_world':
/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:33: undefined reference to 'printf'
hello_world.o(.text+0x20):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:34: undefined reference to 'get_version'
hello_world.o(.text+0x2c):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:34: undefined reference to 'printf'
hello_world.o(.text+0x34):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:36: undefined reference to 'printf'
hello_world.o(.text+0x44):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:38: undefined reference to 'printf'
hello_world.o(.text+0x6c):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:41: undefined reference to 'printf'
hello_world.o(.text+0x78):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:46: undefined reference to 'printf'
hello_world.o(.text+0x7c):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:47: undefined reference to 'tstc'
hello_world.o(.text+0x88):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:50: undefined reference to 'getc'
hello_world.o(.text+0x90):/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples/hello_world.c:52: undefined reference to 'printf'
make[1]: ***[hello_world] Error 1
make[1]: Leaving directory '/cygdrive/c/cygwin/opt/u-boot-1.1.1/examples'
make: *** [examples] Error 2




More information about the U-Boot mailing list