• 5394阅读
  • 0回复

[提问]在编译mips时出错,不知道要如何修改 [复制链接]

上一主题 下一主题
离线aichibanli
 
只看楼主 倒序阅读 楼主  发表于: 2011-08-03
用的是4.6.3版本,以前用这个都没问题,现在出现 如下错误
cd src/tools/bootstrap/ && make -f Makefile
make[1]: Entering directory `/opt/qt-4.6.3-mips/src/tools/bootstrap'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-4.6.3-mips/src/tools/bootstrap'
cd src/tools/moc/ && make -f Makefile
make[1]: Entering directory `/opt/qt-4.6.3-mips/src/tools/moc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-4.6.3-mips/src/tools/moc'
cd src/tools/rcc/ && make -f Makefile
make[1]: Entering directory `/opt/qt-4.6.3-mips/src/tools/rcc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-4.6.3-mips/src/tools/rcc'
cd src/tools/uic/ && make -f Makefile
make[1]: Entering directory `/opt/qt-4.6.3-mips/src/tools/uic'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-4.6.3-mips/src/tools/uic'
cd src/corelib/ && make -f Makefile
make[1]: Entering directory `/opt/qt-4.6.3-mips/src/corelib'
mips-linux-g++ -c -pipe -mips32 -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-mips-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-mips -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-mips -o .obj/release-shared-emb-mips/qsequentialanimationgroup.o animation/qsequentialanimationgroup.cpp
In file included from animation/qsequentialanimationgroup.cpp:81:
animation/qsequentialanimationgroup_p.h:74:35: macro "index" requires 2 arguments, but only 1 given
In file included from animation/qsequentialanimationgroup.cpp:81:
animation/qsequentialanimationgroup_p.h: In constructor `QSequentialAnimationGroupPrivate::AnimationIndex::AnimationIndex()':
animation/qsequentialanimationgroup_p.h:74: error: expected `(' before ',' token
animation/qsequentialanimationgroup.cpp: In member function `void QSequentialAnimationGroupPrivate::activateCurrentAnimation(bool)':
animation/qsequentialanimationgroup.cpp:467: warning: unused variable 'q'
make[1]: *** [.obj/release-shared-emb-mips/qsequentialanimationgroup.o] 错误 1
make[1]: Leaving directory `/opt/qt-4.6.3-mips/src/corelib'
make: *** [sub-corelib-make_default-ordered] 错误 2

配置如下:
./configure -xplatform qws/linux-mips-g++ -embedded mips  -no-largefile -little-endian -depths
4,8,16,32  -qt-mouse-linuxtp -qt-gif -qt-libpng -qt-zlib -qt-libmng -qt-libjpeg

make后就出现,上面的错误,不知道要如何改?我前几天用的4.7.3版本,没有加mips,能编过,现在用低一点的版本不知道为如出的错误
快速回复
限100 字节
 
上一个 下一个