Qt-Embedded Arm
Verfasst: 9. April 2011 10:12
Hallo,
ich muss dringend SW für ARM coden, bekomme aber bei QtCreator unter Ubuntu die meldung:
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `d17'
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `q0'
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `d18'
Mein Vorgehensweise:
tslib:
./autogen.sh
export ac_cv_func_malloc_0_nonnull=yes
./configure CC=arm-cortexa8-linux-gnueabi-gcc CXX=arm-cortexa8-linux-gnueabi-g++ -host=arm-cortexa8-linux-gnueabi
–target=arm-cortexa8-linux-gnueabi –enable-static=no –enable-shared=yes
make –k
sudo « make –k install »
qmakeke.conf in QtEmbedded.4.7.2mkspecs/qws/linux-arm-g++:
QMAKE_CC = arm-cortexa8-linux-gnueabi-gcc
QMAKE_CXX = arm-cortexa8-linux-gnueabi-g++
QMAKE_LINK = arm-cortexa8-linux-gnueabi-g++
QMAKE_LINK_SHLIB = arm-cortexa8-linux-gnueabi-g++
QMAKE_AR = arm-cortexa8-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = arm-cortexa8-linux-gnueabi-objcopy
QMAKE_RANLIB = arm-cortexa8-linux-gnueabi-ranlib
QMAKE_LFLAGS += -Wl,-rpath-link=/usr/local/lib
QMAKE_INCDIR += /usr/local/include
QMAKE_LIBDIR += /usr/local/lib
und dann:
./configure -embedded arm -no-armfpa -little-endian -qt-gfx-transformed -qt-gfx-linuxfb -nomake demos -nomake examples -no-svg -no-phonon -no-qt3support -no-feature-CURSOR -no-webkit -qt-mouse-tslib
make und make install
QtCreator-Path enthält CrossCompiler(arm-cortexa8-linux). Ich kann mit QT_Path4.7.3 kompilieren und ausführen, mit QT_Embedded4.7.2 aber nicht kompilieren (Kann in Creator eingestellt werden) .
Kann mir wer helfen? Ich habe QtEmbedded zich mal kompiliert, immer mit anderer Konfiguration -geht trotzdem nich. Also bitte, jede Hilfe wird dankbar angenommen.
ich muss dringend SW für ARM coden, bekomme aber bei QtCreator unter Ubuntu die meldung:
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `d17'
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `q0'
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `d18'
Mein Vorgehensweise:
tslib:
./autogen.sh
export ac_cv_func_malloc_0_nonnull=yes
./configure CC=arm-cortexa8-linux-gnueabi-gcc CXX=arm-cortexa8-linux-gnueabi-g++ -host=arm-cortexa8-linux-gnueabi
–target=arm-cortexa8-linux-gnueabi –enable-static=no –enable-shared=yes
make –k
sudo « make –k install »
qmakeke.conf in QtEmbedded.4.7.2mkspecs/qws/linux-arm-g++:
QMAKE_CC = arm-cortexa8-linux-gnueabi-gcc
QMAKE_CXX = arm-cortexa8-linux-gnueabi-g++
QMAKE_LINK = arm-cortexa8-linux-gnueabi-g++
QMAKE_LINK_SHLIB = arm-cortexa8-linux-gnueabi-g++
QMAKE_AR = arm-cortexa8-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = arm-cortexa8-linux-gnueabi-objcopy
QMAKE_RANLIB = arm-cortexa8-linux-gnueabi-ranlib
QMAKE_LFLAGS += -Wl,-rpath-link=/usr/local/lib
QMAKE_INCDIR += /usr/local/include
QMAKE_LIBDIR += /usr/local/lib
und dann:
./configure -embedded arm -no-armfpa -little-endian -qt-gfx-transformed -qt-gfx-linuxfb -nomake demos -nomake examples -no-svg -no-phonon -no-qt3support -no-feature-CURSOR -no-webkit -qt-mouse-tslib
make und make install
QtCreator-Path enthält CrossCompiler(arm-cortexa8-linux). Ich kann mit QT_Path4.7.3 kompilieren und ausführen, mit QT_Embedded4.7.2 aber nicht kompilieren (Kann in Creator eingestellt werden) .
Kann mir wer helfen? Ich habe QtEmbedded zich mal kompiliert, immer mit anderer Konfiguration -geht trotzdem nich. Also bitte, jede Hilfe wird dankbar angenommen.