天嵌 ARM开发社区

 找回密码
 注册
查看: 3644|回复: 3

BusyBox出现错误

[复制链接]
姚承明 发表于 2010-6-8 14:07:51 | 显示全部楼层 |阅读模式
/arm-linux/3.4.5/../../../../arm-linux/bin/ld: ERROR: /opt/EmbedSky/BusyBox-1.2.
0/libbb/libbb.a(bb_xopendir.o) uses hardware FP, whereas busybox_unstripped uses
software FP
/opt/EmbedSky/crosstools_3.4.5_softfloat/gcc-3.4.5-glibc-2.3.6/arm-linux/lib/gcc
/arm-linux/3.4.5/../../../../arm-linux/bin/ld: failed to merge target specific d
ata of file /opt/EmbedSky/BusyBox-1.2.0/libbb/libbb.a(bb_xopendir.o)
/opt/EmbedSky/crosstools_3.4.5_softfloat/gcc-3.4.5-glibc-2.3.6/arm-linux/lib/gcc
/arm-linux/3.4.5/../../../../arm-linux/bin/ld: ERROR: /opt/EmbedSky/BusyBox-1.2.
0/libbb/libbb.a(xgetlarg_bnd_sfx.o) uses hardware FP, whereas busybox_unstripped
uses software FP
/opt/EmbedSky/crosstools_3.4.5_softfloat/gcc-3.4.5-glibc-2.3.6/arm-linux/lib/gcc
/arm-linux/3.4.5/../../../../arm-linux/bin/ld: failed to merge target specific d
ata of file /opt/EmbedSky/BusyBox-1.2.0/libbb/libbb.a(xgetlarg_bnd_sfx.o)
/opt/EmbedSky/crosstools_3.4.5_softfloat/gcc-3.4.5-glibc-2.3.6/arm-linux/lib/gcc
/arm-linux/3.4.5/../../../../arm-linux/bin/ld: ERROR: /opt/EmbedSky/BusyBox-1.2.
0/libbb/libbb.a(xgetularg_bnd.o) uses hardware FP, whereas busybox_unstripped us
es software FP
/opt/EmbedSky/crosstools_3.4.5_softfloat/gcc-3.4.5-glibc-2.3.6/arm-linux/lib/gcc
/arm-linux/3.4.5/../../../../arm-linux/bin/ld: failed to merge target specific d
ata of file /opt/EmbedSky/BusyBox-1.2.0/libbb/libbb.a(xgetularg_bnd.o)
collect2: ld returned 1 exit status
make[1]: *** [busybox_unstripped] Error 1
make: *** [_all] Error 2
这个怎么办
?详细点谢谢
亚瑟王 发表于 2010-6-8 18:33:13 | 显示全部楼层
make distclean;cp -f config_EmbedSky .config;make;make install
错误原因:原来的busybox用的是4.3.3的编译器编译的(硬件浮点数),而现在改为用3.4.5的编译器编译(软件浮点数)引起的。。
 楼主| 姚承明 发表于 2010-6-9 07:38:11 | 显示全部楼层
2# 亚瑟王
[root@localhost BusyBox-1.2.0]# make distclean
make -C scripts/config clean
rm -f *.o *~ core  mconf.o lxdialog/checklist.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/yesno.o lxdialog/inputbox.o lxdialog/util.o lxdialog/msgbox.o conf.o \
        conf mconf zconf.tab.c zconf.tab.h lex.zconf.c lkc_defs.h
rm -f docs/busybox.dvi docs/busybox.ps \
    docs/busybox.pod docs/busybox.net/busybox.html \
    docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \
    docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
    docs/busybox.net/BusyBox.html busybox.links \
    libbusybox.so* \
    .config.old busybox busybox_unstripped
rm -r -f _install testsuite/links
find . -name .\*.flags -o -name \*.o  -o -name \*.om -o -name \*.syn \
    -o -name \*.os -o -name \*.osm -o -name \*.a | xargs rm -f
rm -f scripts/bb_mkdep scripts/usage
rm -r -f include/config include/config.h include/bb_config.h include/bbconfigopts.h
find . -name .depend'*' -print0 | xargs -0 rm -f
rm -f .hdepend
rm -f .config .config.old .config.cmd
[root@localhost BusyBox-1.2.0]# cp -f config_SKY2440 .config
[root@localhost BusyBox-1.2.0]# make
  HOSTLINK scripts/bb_mkdep
  HOSTCC conf.o
  HOSTCC zconf.tab.o
  HOSTCC conf
/opt/EmbedSky/BusyBox-1.2.0/scripts/config/conf: /opt/EmbedSky/BusyBox-1.2.0/scripts/config/conf: cannot execute binary file
make[1]: *** [include/bb_config.h] Error 126
make: *** [_all] Error 2
还是没有解决呢~~我什么地方还有问题吗?
亚瑟王 发表于 2010-6-10 17:44:23 | 显示全部楼层
cp -f config_EmbedSky .config;make menuconfig;make;make install
然后再试一下。多加了make menuconfig,进入配置单配置的命令。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-20 03:04 , Processed in 1.019571 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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