使用的是QT-EMBEDDED-4.5.3
ARM-LINUX-GCC 是用的3.4.1
失败信息如下:
make[1]: Entering directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/bootstrap'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/bootstrap'
cd src/tools/moc/ && make -f Makefile
make[1]: Entering directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/moc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/moc'
cd src/tools/rcc/ && make -f Makefile
make[1]: Entering directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/rcc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/rcc'
cd src/tools/uic/ && make -f Makefile
make[1]: Entering directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/uic'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/tools/uic'
cd src/corelib/ && make -f Makefile
make[1]: Entering directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/corelib'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/corelib'
cd src/xml/ && make -f Makefile
make[1]: Entering directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/xml'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/xml'
cd src/network/ && make -f Makefile
make[1]: Entering directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/network'
compiling kernel/qhostaddress.cpp
kernel/qhostaddress.cpp: In constructor `QHostAddress::QHostAddress(const sockaddr*)':
kernel/qhostaddress.cpp:523: internal compiler error: in arm_print_operand, at config/arm/arm.c:9816
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:604: Warning: partial line at end of file ignored
make[1]: *** [.obj/release-shared-emb-arm/qhostaddress.o] Error 1
make[1]: Leaving directory `/home/wqxu/qt4/qte4/qt-embedded-linux-opensource-src-4.5.3/src/network'
make: *** [sub-network-make_default-ordered] Error 2
希望大家帮帮小弟。
configure时候的参数是如下选择的:
./configure \
-release \
-shared \
-no-qt3support \
-no-xmlpatterns \
-no-svg \
-no-webkit \
-system-zlib \
-qt-gif \
-system-libtiff \
-system-libpng \
-qt-libmng \
-system-libjpeg \
-make libs \
-make tools \
-nomake examples \
-nomake docs \
-nomake demo \
-no-nis \
-no-cups \
-no-iconv \
-no-dbus \
-no-openssl \
-xplatform qws/linux-arm-g++ \
-embedded arm \
-little-endian \
-qt-freetype \
-depths 16,18 \
-qt-gfx-linuxfb \
-no-gfx-transformed \
-no-gfx-multiscreen \
-no-gfx-vnc \
-no-gfx-qvfb \
-qt-kbd-tty \
-qt-kbd-usb \
-qt-mouse-tslib \
-qt-mouse-pc \
-no-glib \
-silent \
-I /home/wqxu/tslib/include \
-L /home/wqxu/tslib/lib