• 4407阅读
  • 1回复

arm-linux-gcc编译出错,请各位帮帮忙看下 [复制链接]

上一主题 下一主题
离线liyiq_82
 

只看楼主 倒序阅读 楼主  发表于: 2008-09-03
— 本帖被 XChinux 执行加亮操作(2008-09-03) —
moc /mnt/nfs/qtopia4/qtopiatslibinstall/src/settings/packagemanager/utils.cpp
compiling /mnt/nfs/qtopia4/qtopiatslibinstall/src/settings/packagemanager/utils.cpp
rm -f libpackagemanager.so
linking libpackagemanager.so
.obj/release-shared/utils.o: In function `SizeUtils::parseInstalledSize(QString)':
utils.cpp:(.text+0x12c8): undefined reference to `round'
collect2: ld returned 1 exit status
make[5]: *** [link_test] 错误 1
make[5]: Leaving directory `/mnt/nfs/qtopia4/build/src/settings/packagemanager'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/mnt/nfs/qtopia4/build/src/settings/packagemanager'
make[3]: *** [sub-settings-packagemanager] 错误 2
make[3]: Leaving directory `/mnt/nfs/qtopia4/build/src'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/mnt/nfs/qtopia4/build/src'
make[1]: *** [qtopia_all] 错误 2
make[1]: Leaving directory `/mnt/nfs/qtopia4/build'

上面出错的源代码中我已经增加了#include <math.h>
我用的编译器是arm-linux-gcc 4.1.1版本的,请问是什么原因导致的
离线liyiq_82

只看该作者 1楼 发表于: 2008-09-10
问题的原因是arm-linux的版本4.1.1太高了,换成3.4.1的就没有这个问题
快速回复
限100 字节
 
上一个 下一个