QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 998|回复: 1

u-boot compile problem

[复制链接]
发表于 2005-8-24 13:37:34 | 显示全部楼层 |阅读模式
Sir
i'm trying to port linux on a ARM plateform, Since i have encountered problem with u-bbot on this board. I have successfuly compile it before. but now it say

make[1]: Entering directory `/root/work/u-boot-1.1.2/examples'
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0xc0f80000 -I/root/work/u-boot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/x86-arm/usr/bin/../lib/gcc-lib/arm-linux/3.3.3/include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=arm7tdmi -Wall -Wstrict-prototypes -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0xc0f80000 -I/root/work/u-boot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/x86-arm/usr/bin/../lib/gcc-lib/arm-linux/3.3.3/include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=arm7tdmi -I.. -Bstatic
-T /root/work/u-boot-1.1.2/board/ep7312/u-boot.lds -Ttext 0xc0f80000   hello_world.c   -o hello_world
/opt/x86-arm/usr/bin/../lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin/ld: cannot find -lfloat
collect2: ld returned 1 exit status
make[1]: *** [hello_world] Error 1
make[1]: Leaving directory `/root/work/u-boot-1.1.2/examples'
make: *** [examples] Error 2

Can some one tell me what cause this problem .and what can i do
i'm looking forward you answer
thanks a lot.
发表于 2005-9-1 10:40:00 | 显示全部楼层
编译选项 “-lfloat“ 不对,换一个低版本的arm-linux 编译器试一试,新的编译器有很多选项已经不支持了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 04:14 , Processed in 0.037125 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表