标题:arm-linux-gcc编译出错,请各位帮帮忙看下
作者:liyiq_82
日期:2008-09-03 08:16
内容:
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]: *** 错误 1
make[5]: Leaving directory `/mnt/nfs/qtopia4/build/src/settings/packagemanager'
make[4]: *** 错误 2
make[4]: Leaving directory `/mnt/nfs/qtopia4/build/src/settings/packagemanager'
make[3]: *** 错误 2
make[3]: Leaving directory `/mnt/nfs/qtopia4/build/src'
make[2]: *** 错误 2
make[2]: Leaving directory `/mnt/nfs/qtopia4/build/src'
make[1]: *** 错误 2
make[1]: Leaving directory `/mnt/nfs/qtopia4/build'
上面出错的源代码中我已经增加了#include
我用的编译器是arm-linux-gcc 4.1.1版本的,请问是什么原因导致的
#1 [liyiq_82 09-10 15:06]
问题的原因是arm-linux的版本4.1.1太高了,换成3.4.1的就没有这个问题