[U-Boot-Users] u-boot compilation problem

Pradip Singh linux_porting at yahoo.co.in
Fri Nov 26 07:09:37 CET 2004


Hi all,
 
  I am porting the U-boot to my custom board which  is arm based. While building the u-boot i get the following compilation error.
 
armv5b-softfloat-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00780000 -I/root/isl/heron_old/u-boot-1.1.1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/crosstool/armv5b-softfloat-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/armv5b-softfloat-linux/3.4.1/include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv5te -mbig-endian -Wall
-Wstrict-prototypes -c -o hello_world.o hello_world.c
armv5b-softfloat-linux-ld -g -EB -Ttext 0x000007fc0 \
        -o hello_world -e hello_world hello_world.o libstubs.a \
        -L/opt/crosstool/armv5b-softfloat-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/armv5b-softfloat-linux/3.4.1 -lgcc
hello_world.o(.text+0x1c): In function `hello_world':
/root/isl/heron_old/u-boot-1.1.1/examples/hello_world.c:44: undefined reference
to `printf'
hello_world.o(.text+0x20):/root/isl/heron_old/u-boot-1.1.1/examples/hello_world.c:45: undefined reference to `get_version'
hello_world.o(.text+0x2c):/root/isl/heron_old/u-boot-1.1.1/examples/hello_world.c:45: undefined reference to `printf'
hello_world.o(.text+0x34):/root/isl/heron_old/u-boot-1.1.1/examples/hello_world.c:47: undefined reference to `printf'
hello_world.o(.text+0x44):/root/isl/heron_old/u-boot-1.1.1/examples/hello_world.c:49: undefined reference to `printf'
hello_world.o(.text+0x6c):/root/isl/heron_old/u-boot-1.1.1/examples/hello_world.c:52: undefined reference to `printf'
 
Any clue what this problem can Be?
 
Thanks and regards,
Pradip


Yahoo! India Matrimony: Find your life partneronline.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20041126/fbdb8019/attachment.htm 


More information about the U-Boot mailing list