LinuxSir.cn,穿越时空的Linuxsir!

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

求助:在龙芯2f盒子上编译gcc4.4出错!

[复制链接]
发表于 2010-2-2 10:42:19 | 显示全部楼层 |阅读模式
编译依赖的源码都来自Ubuntu9.1源上的源码包!
编译环境:
binutils 2.20-0ubuntu2

编译gcc4.4出现的错误:
../libsupc++/.libs/libsupc++convenience.a: member ../libsupc++/.libs/libsupc++convenience.a() in archive is not an object
collect2: ld returned 1 exit status
make[10]: *** [libstdc++.la] Error 1
make[10]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build/mipsel-linux-gnu/64/libstdc++-v3/src'
make[9]: *** [all-recursive] Error 1
make[9]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build/mipsel-linux-gnu/64/libstdc++-v3'
make[8]: *** [all] Error 2
make[8]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build/mipsel-linux-gnu/64/libstdc++-v3'
make[7]: *** [multi-do] Error 1
make[7]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build/mipsel-linux-gnu/libstdc++-v3'
make[6]: *** [all-multi] Error 2
make[6]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build/mipsel-linux-gnu/libstdc++-v3'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build/mipsel-linux-gnu/libstdc++-v3'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build/mipsel-linux-gnu/libstdc++-v3'
make[3]: *** [all-target-libstdc++-v3] Error 2
make[3]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/home/cross-softs/gcc-4.4/gcc-4.4-4.4.1'
make: *** [stamps/05-build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
发表于 2010-3-19 16:30:07 | 显示全部楼层
编译时候加上-march=loongson2f看看
回复 支持 反对

使用道具 举报

发表于 2010-6-21 18:56:55 | 显示全部楼层
debian里面的gcc4.4 可以直接拿来使用。
回复 支持 反对

使用道具 举报

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

本版积分规则

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