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

Mr FF 2009-08-06 10:27:05
新人,第一步总是艰难.因为工作需要,要编译个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

请高手帮我看看,大概是什么地方出了问题,谢谢!
...全文
515 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhouyangc 2009-08-18
  • 打赏
  • 举报
回复
make clean 再make dep
ShowMan 2009-08-06
  • 打赏
  • 举报
回复
上sourceforge上下载一个新的用用吧。
ShowMan 2009-08-06
  • 打赏
  • 举报
回复
嗯,这个基本上是编译太老的原因。
fc上没有armgcc吗?

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧