u-boot compile problem
Sorry for the subject in previous e-mail...
Hi all,
I've downloaded the latest u-boot-1.1.1 and I'm trying to compile, but I get this error at the end... any idea?
Toolchain: cross-3.2 (from arm linux)
regards
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8
-mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/root/audiotel/u-boot-1.1.1nand/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/current/bin/../lib/gcc-lib/arm-linux/3.2/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes
-g -Os -fno-strict-aliasing -fno-common -ffixed-r8
-mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/root/audiotel/u-boot-1.1.1nand/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/current/bin/../lib/gcc-lib/arm-linux/3.2/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -I.. -Bstatic -T /root/audiotel/u-boot-1.1.1nand/board/smdk2410/u-boot.lds -Ttext0x33F80000 hello_world.c -o hello_world/usr/local/arm/current/bin/../lib/gcc-lib/arm-linux/3.2/../../../../arm-linux/bin/ld:
cannot find -lfloat
collect2: ld returned 1 exit status
make[1]: *** [hello_world] Error 1
make[1]: Leaving directory `/root/audiotel/u-boot-1.1.1nand/examples'
make: *** [examples] Error 2
[root at tecne184 u-boot-1.1.1nand]#
Quoted 18 lines · In message <[email protected]> you wrote:
I've downloaded the latest u-boot-1.1.1 and I'm trying to compile, but I get this error at the end... any idea?
Toolchain: cross-3.2 (from arm linux)
regardsarm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8
(quoted diff) +0
-3-mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/root/audiotel/u-boot-1.1.1nand/include -fno-builtin -ffreestanding -nostdinc -isystem
/usr/local/arm/current/bin/../lib/gcc-lib/arm-linux/3.2/include-pipe(quoted diff) +0
-5-DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/root/audiotel/u-boot-1.1.1nand/include -fno-builtin -ffreestanding -nostdinc -isystem
Quoted 6 lines
/usr/local/arm/current/bin/../lib/gcc-lib/arm-linux/3.2/include-pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -I.. -Bstatic -T/root/audiotel/u-boot-1.1.1nand/board/smdk2410/u-boot.lds-Ttext0x33F80000hello_world.c-ohello_world/usr/local/arm/current/bin/../lib/gcc-lib/arm-linux/3.2/../../../../arm-linux/bin/ld:
cannot find -lfloat
Your toolchain is broken, and seriously. It cannot find one of the libraries it thinks it needs (libfloat).
This is off topic here. Please ask such questions on the linux-arm-toolchain mailing list.
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 Anarchy may not be the best form of government, but it's better than no government at all.