[Qt-interest] Qt-Embedded4.6.3 and arm-cortexa8

ayserd yawsedr tuktuk666666 at googlemail.com
Sun Apr 10 23:37:00 CEST 2011


Hi,
I have problems with qt-embedded4.6.3 and arm-cortexa8 compiler.

First, I cross-compiled tslib1.0. After that, I crosscompiled qt-embedded
with:
./configure -embedded arm -xplatform qws/linux-arm-g++ -no-armfpa
-little-endian -qt-gfx-transformed -qt-gfx-linuxfb -nomake demos -nomake
examples -no-svg -no-phonon -no-qt3support -qt-mouse-tslib

My mkspecs/qws/linux-arm-g++:

#
# qmake configuration for building with arm-linux-g++
#

include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

# modifications to g++.conf
#QMAKE_CC                = arm-linux-gcc
#QMAKE_CXX               = arm-linux-g++
#QMAKE_LINK              = arm-linux-g++
#QMAKE_LINK_SHLIB        = arm-linux-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++

# modifications to linux.conf
#QMAKE_AR                = arm-linux-ar cqs
#QMAKE_OBJCOPY           = arm-linux-objcopy
#QMAKE_STRIP             = arm-linux-strip

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

QMAKE_CFLAGS           += -I/usr/local/include
QMAKE_LFLAGS           += -L/usr/local/lib -Wl,-rpath-link=/usr/local/lib



load(qt_config)

When I try to compile an excample, I get an error.

After make:
arm-cortexa8-linux-gnueabi-g++ -L/usr/local/lib
-Wl,-rpath-link=/usr/local/lib -Wl,-O1
-Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib -o test main.o
-L/usr/local/lib -L/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib -lQtGui
-L/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib -L/usr/local/lib -lQtNetwork
-lQtCore -lpthread
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d16'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d17'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d18'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d19'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d26'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d27'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d28'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d29'
/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libQtGui.so: undefined
reference to `d21'
collect2: ld returned 1 exit status
make: *** [test] Fehler 1

Can anyone help me please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110410/fdd90ad3/attachment.html 


More information about the Qt-interest-old mailing list