LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1456|回复: 0

编译uClinux出错,请赐教呀,谢谢了!!!

[复制链接]
发表于 2009-4-10 18:30:30 | 显示全部楼层 |阅读模式
系统是ubuntu8.0.4
我从网上下载arm-elf-tools-20030314.sh和arm-linux-gcc-3.4.1安装了交叉编译环境。

然后在编译uclinux是出错。
执行到make user_only这一步出错
错误是
ERROR: /usr/local/arm/3.2.0/bin/../lib/gcc-lib/arm-linux/3.2/libgcc.a(_udivsi3.oS) uses hardware FP, whereas boa uses software FP

还有很多这样的错误

下面就是
/home/orochi/share/uclinux/uClinux-dist/uClibc/lib/libc.a(_fpmaxtostr.o):
在函数‘_fpmaxtostr’中:
fpmaxtostr.o(.text+0x150): undefined reference to `__subdf3'
_fpmaxtostr.o(.text+0x15c): undefined reference to `__muldf3'
_fpmaxtostr.o(.text+0x6a0): undefined reference to `__adddf3'
_fpmaxtostr.o(.text+0x6c0): undefined reference to `__ltdf2'
_fpmaxtostr.o(.text+0x6dc): undefined reference to `__muldf3'
_fpmaxtostr.o(.text+0x6f0): undefined reference to `__eqdf2'
_fpmaxtostr.o(.text+0x75c): undefined reference to `__ltdf2'
_fpmaxtostr.o(.text+0x7a8): undefined reference to `__muldf3'

从错误来看应该是编译boa时出现问题,是不是我的交叉环境安装有问题,应该是这个libc.a没有包含一些头文件
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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