strtof linux内核,编译uclinux2.6真就这么难!?? 自己到底缺哪些东西???

新人,第一步总是艰难.因为工作需要,要编译个uclinux,就这样把我给难住了.

我编译的uclinux 2.6

环境是:fedora 10

make xconfig

采用的是: GDB

ARM

linux 2.6

uclibc

结果在make 的时候出现了一些问题:

首先  no arm-linux-20070808-gcc in (/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/arm/usr/local/arm/3.4.1/bin/:/usr/local/arm/3.4.1/bin/:/usr/local/arm/usr/local/arm/3.4.1/bin/:/home/guningyi/bin)

大概是说这个编译器没有找到,我查了一下,是在 uClinux-dist/vendors/config/armnommu/ 下有个

config.arch 中提到了,我将其注释掉后又提示我其它的编译器版本太老.

继续编译到最后结果是出错.

libc/libc_so.a(difftime.os)(.text+0x8): In function `difftime':

: undefined reference to `__floatsidf'

libc/libc_so.a(difftime.os)(.text+0x2c): In function `difftime':

: undefined reference to `__subdf3'

libc/libc_so.a(_fpmaxtostr.os)(.text+0xb4): In function `_fpmaxtostr':

: undefined reference to `__nedf2'

libc/libc_so.a(_fpmaxtostr.os)(.text+0xd8): In function `_fpmaxtostr':

: undefined reference to `__eqdf2'

libc/libc_so.a(_fpmaxtostr.os)(.text+0xf4): In function `_fpmaxtostr':

: undefined reference to `__divdf3'

libc/libc_so.a(_fpmaxtostr.os)(.text+0x100): In function `_fpmaxtostr':

: undefined reference to `__ltdf2'

libc/libc_so.a(_fpmaxtostr.os)(.text+0x15c): In function `_fpmaxtostr':

: undefined reference to `__muldf3'

libc/libc_so.a(_fpmaxtostr.os)(.text+0x2c0): In function `_fpmaxtostr':

: undefined reference to `__gedf2'

libc/libc_so.a(_fpmaxtostr.os)(.text+0x350): In function `_fpmaxtostr':

: undefined reference to `__adddf3'

libc/libc_so.a(__psfs_do_numeric.os)(.text+0x570): In function `__psfs_do_numeric':

: undefined reference to `__truncdfsf2'

libc/libc_so.a(strtof.os)(.text+0x1c): In function `__GI_strtof':

: undefined reference to `__extendsfdf2'

arm-linux-ld: BFD 2.15.90.0.3 20040415 assertion fail /work/crosstool-0.27/build/arm-linux/gcc-3.4.1-glibc-2.3.2/binutils-2.15.90.0.3/bfd/elf32-arm.h:1861

arm-linux-ld: BFD 2.15.90.0.3 20040415 assertion fail /work/crosstool-0.27/build/arm-linux/gcc-3.4.1-glibc-2.3.2/binutils-2.15.90.0.3/bfd/elf32-arm.h:1861

make[4]: * [lib/libc.so] Error 1

make[3]: * [lib/libc.so.0] 错误 2

make[3]: Leaving directory `/home/guningyi/download/uClinux-dist/uClibc'

make[2]: * [uClibc] 错误 2

make[2]: Leaving directory `/home/guningyi/download/uClinux-dist/lib'

make[1]: * [all] 错误 2

make[1]: Leaving directory `/home/guningyi/download/uClinux-dist/lib'

make: * [subdirs] 错误 1

请高手帮我看看,大概是什么地方出了问题,谢谢!

|

嗯,这个基本上是编译太老的原因。

fc上没有armgcc吗?

|

make clean 再make dep

|

上sourceforge上下载一个新的用用吧。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值