Undefined reference to `__aeabi_unwind_cpp_pr1' while compiling for arm linux



  • hello, I am trying to compile Qt 4.8.4 for arm linux but I am getting the following error. I configure it like that

    ./configure -no-qt3support -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-webkit -no-gui -release -opensource -shared -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -fast -prefix /home/engin/Desktop/qt-everywhere-opensource-src-4.8.4/arm

    And after that when I use make it gives the error. I am new at qt and compiling things for arm and probably doing something very stupid.

    @/home/engin/CodeSourcery/arm-2010.09/bin/arm-none-linux-gnueabi-g++
    -c
    -include
    .pch/release-shared-emb-arm/QtCore
    -pipe
    -fno-strict-volatile-bitfields
    -O2
    -fno-strict-volatile-bitfields
    -fvisibility=hidden
    -fvisibility-inlines-hidden
    -Wall
    -W
    -D_REENTRANT
    -fPIC
    -DQT_SHARED
    -DQT_BUILD_CORE_LIB
    -DQT_NO_USING_NAMESPACE
    -DQT_NO_CAST_TO_ASCII
    -DQT_ASCII_CAST_WARNINGS
    -DQT_MOC_COMPAT
    -DQT_USE_QSTRINGBUILDER
    -DELF_INTERPRETER="/lib/ld-linux.so.2"
    -DHB_EXPORT=Q_CORE_EXPORT
    -DQT_NO_DEBUG
    -D_LARGEFILE64_SOURCE
    -D_LARGEFILE_SOURCE
    -I../../mkspecs/qws/linux-arm-gnueabi-g++
    -I.
    -I../../include
    -I../../include/QtCore
    -I.rcc/release-shared-emb-arm
    -Iglobal
    -I../3rdparty/zlib
    -I../3rdparty/harfbuzz/src
    -I../3rdparty/md5
    -I../3rdparty/md4
    -I.moc/release-shared-emb-arm
    -o
    .obj/release-shared-emb-arm/moc_qeventtransition.o
    .moc/release-shared-emb-arm/moc_qeventtransition.cpp
    rm
    -f
    libQtCore.so.4.8.4
    libQtCore.so
    libQtCore.so.4
    libQtCore.so.4.8
    /home/engin/CodeSourcery/arm-2010.09/bin/arm-none-linux-gnueabi-g++
    -Wl,-rpath-link,/home/engin/Desktop/qt-everywhere-opensource-src-4.8.4/lib
    -Wl,--no-undefined
    -Wl,-e,qt_core_boilerplate
    -Wl,-O1
    -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.8.4-arm/lib
    -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.8.4-arm/lib
    -shared
    -Wl,-soname,libQtCore.so.4
    -o
    libQtCore.so.4.8.4
    .obj/release-shared-emb-arm/qabstractanimation.o
    .obj/release-shared-emb-arm/qvariantanimation.o
    .obj/release-shared-emb-arm/qpropertyanimation.o
    .obj/release-shared-emb-arm/qanimationgroup.o
    .obj/release-shared-emb-arm/qsequentialanimationgroup.o
    .obj/release-shared-emb-arm/qparallelanimationgroup.o
    .obj/release-shared-emb-arm/qpauseanimation.o
    .obj/release-shared-emb-arm/qatomic_arm.o
    .obj/release-shared-emb-arm/qfuture.o
    .obj/release-shared-emb-arm/qfutureinterface.o
    .obj/release-shared-emb-arm/qfuturesynchronizer.o
    .obj/release-shared-emb-arm/qfuturewatcher.o
    .obj/release-shared-emb-arm/qrunnable.o
    .obj/release-shared-emb-arm/qtconcurrentfilter.o
    .obj/release-shared-emb-arm/qtconcurrentmap.o
    .obj/release-shared-emb-arm/qtconcurrentresultstore.o
    .obj/release-shared-emb-arm/qtconcurrentthreadengine.o
    .obj/release-shared-emb-arm/qtconcurrentiteratekernel.o
    .obj/release-shared-emb-arm/qtconcurrentexception.o
    .obj/release-shared-emb-arm/qthreadpool.o
    .obj/release-shared-emb-arm/qglobal.o
    .obj/release-shared-emb-arm/qlibraryinfo.o
    .obj/release-shared-emb-arm/qmalloc.o
    .obj/release-shared-emb-arm/qnumeric.o
    .obj/release-shared-emb-arm/qatomic.o
    .obj/release-shared-emb-arm/qmutex.o
    .obj/release-shared-emb-arm/qreadwritelock.o
    .obj/release-shared-emb-arm/qmutexpool.o
    .obj/release-shared-emb-arm/qsemaphore.o
    .obj/release-shared-emb-arm/qthread.o
    .obj/release-shared-emb-arm/qthreadstorage.o
    .obj/release-shared-emb-arm/qmutex_unix.o
    .obj/release-shared-emb-arm/qthread_unix.o
    .obj/release-shared-emb-arm/qwaitcondition_unix.o
    .obj/release-shared-emb-arm/qbitarray.o
    .obj/release-shared-emb-arm/qbytearray.o
    .obj/release-shared-emb-arm/qbytearraymatcher.o
    .obj/release-shared-emb-arm/qcryptographichash.o
    .obj/release-shared-emb-arm/qdatetime.o
    .obj/release-shared-emb-arm/qeasingcurve.o
    .obj/release-shared-emb-arm/qelapsedtimer.o
    .obj/release-shared-emb-arm/qhash.o
    .obj/release-shared-emb-arm/qline.o
    .obj/release-shared-emb-arm/qlinkedlist.o
    .obj/release-shared-emb-arm/qlist.o
    .obj/release-shared-emb-arm/qlocale.o
    .obj/release-shared-emb-arm/qlocale_tools.o
    .obj/release-shared-emb-arm/qpoint.o
    .obj/release-shared-emb-arm/qmap.o
    .obj/release-shared-emb-arm/qmargins.o
    .obj/release-shared-emb-arm/qcontiguouscache.o
    .obj/release-shared-emb-arm/qrect.o
    .obj/release-shared-emb-arm/qregexp.o
    .obj/release-shared-emb-arm/qshareddata.o
    .obj/release-shared-emb-arm/qsharedpointer.o
    .obj/release-shared-emb-arm/qsimd.o
    .obj/release-shared-emb-arm/qsize.o
    .obj/release-shared-emb-arm/qstring.o
    .obj/release-shared-emb-arm/qstringbuilder.o
    .obj/release-shared-emb-arm/qstringlist.o
    .obj/release-shared-emb-arm/qtextboundaryfinder.o
    .obj/release-shared-emb-arm/qtimeline.o
    .obj/release-shared-emb-arm/qvector.o
    .obj/release-shared-emb-arm/qvsnprintf.o
    .obj/release-shared-emb-arm/qelapsedtimer_unix.o
    .obj/release-shared-emb-arm/qlocale_unix.o
    .obj/release-shared-emb-arm/adler32.o
    .obj/release-shared-emb-arm/compress.o
    .obj/release-shared-emb-arm/crc32.o
    .obj/release-shared-emb-arm/deflate.o
    .obj/release-shared-emb-arm/gzclose.o
    .obj/release-shared-emb-arm/gzlib.o
    .obj/release-shared-emb-arm/gzread.o
    .obj/release-shared-emb-arm/gzwrite.o

    @

    snip



  • continue (it was too long)
    @.obj/release-shared-emb-arm/infback.o
    .obj/release-shared-emb-arm/inffast.o
    .obj/release-shared-emb-arm/inflate.o
    .obj/release-shared-emb-arm/inftrees.o
    .obj/release-shared-emb-arm/trees.o
    .obj/release-shared-emb-arm/uncompr.o
    .obj/release-shared-emb-arm/zutil.o
    .obj/release-shared-emb-arm/harfbuzz-buffer.o
    .obj/release-shared-emb-arm/harfbuzz-gdef.o
    .obj/release-shared-emb-arm/harfbuzz-gsub.o
    .obj/release-shared-emb-arm/harfbuzz-gpos.o
    .obj/release-shared-emb-arm/harfbuzz-impl.o
    .obj/release-shared-emb-arm/harfbuzz-open.o
    .obj/release-shared-emb-arm/harfbuzz-stream.o
    .obj/release-shared-emb-arm/harfbuzz-shaper-all.o
    .obj/release-shared-emb-arm/qharfbuzz.o
    .obj/release-shared-emb-arm/qabstractfileengine.o
    .obj/release-shared-emb-arm/qbuffer.o
    .obj/release-shared-emb-arm/qdatastream.o
    .obj/release-shared-emb-arm/qdataurl.o
    .obj/release-shared-emb-arm/qtldurl.o
    .obj/release-shared-emb-arm/qdebug.o
    .obj/release-shared-emb-arm/qdir.o
    .obj/release-shared-emb-arm/qdiriterator.o
    .obj/release-shared-emb-arm/qfile.o
    .obj/release-shared-emb-arm/qfileinfo.o
    .obj/release-shared-emb-arm/qiodevice.o
    .obj/release-shared-emb-arm/qnoncontiguousbytedevice.o
    .obj/release-shared-emb-arm/qprocess.o
    .obj/release-shared-emb-arm/qtextstream.o
    .obj/release-shared-emb-arm/qtemporaryfile.o
    .obj/release-shared-emb-arm/qresource.o
    .obj/release-shared-emb-arm/qresource_iterator.o
    .obj/release-shared-emb-arm/qurl.o
    .obj/release-shared-emb-arm/qsettings.o
    .obj/release-shared-emb-arm/qfsfileengine.o
    .obj/release-shared-emb-arm/qfsfileengine_iterator.o
    .obj/release-shared-emb-arm/qfilesystemwatcher.o
    .obj/release-shared-emb-arm/qfilesystementry.o
    .obj/release-shared-emb-arm/qfilesystemengine.o
    .obj/release-shared-emb-arm/qfsfileengine_unix.o
    .obj/release-shared-emb-arm/qfilesystemengine_unix.o
    .obj/release-shared-emb-arm/qprocess_unix.o
    .obj/release-shared-emb-arm/qfilesystemiterator_unix.o
    .obj/release-shared-emb-arm/qfilesystemwatcher_inotify.o
    .obj/release-shared-emb-arm/qfilesystemwatcher_dnotify.o
    .obj/release-shared-emb-arm/qpluginloader.o
    .obj/release-shared-emb-arm/qfactoryloader.o
    .obj/release-shared-emb-arm/quuid.o
    .obj/release-shared-emb-arm/qlibrary.o
    .obj/release-shared-emb-arm/qelfparser_p.o
    .obj/release-shared-emb-arm/qlibrary_unix.o
    .obj/release-shared-emb-arm/qabstracteventdispatcher.o
    .obj/release-shared-emb-arm/qabstractitemmodel.o
    .obj/release-shared-emb-arm/qbasictimer.o
    .obj/release-shared-emb-arm/qeventloop.o
    .obj/release-shared-emb-arm/qcoreapplication.o
    .obj/release-shared-emb-arm/qcoreevent.o
    .obj/release-shared-emb-arm/qmetaobject.o
    .obj/release-shared-emb-arm/qmetatype.o
    .obj/release-shared-emb-arm/qmimedata.o
    .obj/release-shared-emb-arm/qobject.o
    .obj/release-shared-emb-arm/qobjectcleanuphandler.o
    .obj/release-shared-emb-arm/qsignalmapper.o
    .obj/release-shared-emb-arm/qsocketnotifier.o
    .obj/release-shared-emb-arm/qtimer.o
    .obj/release-shared-emb-arm/qtranslator.o
    .obj/release-shared-emb-arm/qvariant.o
    .obj/release-shared-emb-arm/qcoreglobaldata.o
    .obj/release-shared-emb-arm/qsharedmemory.o
    .obj/release-shared-emb-arm/qsystemsemaphore.o
    .obj/release-shared-emb-arm/qpointer.o
    .obj/release-shared-emb-arm/qmath.o
    .obj/release-shared-emb-arm/qsystemerror.o
    .obj/release-shared-emb-arm/qcore_unix.o
    .obj/release-shared-emb-arm/qcrashhandler.o
    .obj/release-shared-emb-arm/qsharedmemory_unix.o
    .obj/release-shared-emb-arm/qsystemsemaphore_unix.o
    .obj/release-shared-emb-arm/qeventdispatcher_unix.o
    .obj/release-shared-emb-arm/qisciicodec.o
    .obj/release-shared-emb-arm/qlatincodec.o
    .obj/release-shared-emb-arm/qsimplecodec.o
    .obj/release-shared-emb-arm/qtextcodec.o
    .obj/release-shared-emb-arm/qtsciicodec.o
    .obj/release-shared-emb-arm/qutfcodec.o
    .obj/release-shared-emb-arm/qtextcodecplugin.o
    .obj/release-shared-emb-arm/qfontlaocodec.o
    .obj/release-shared-emb-arm/qgb18030codec.o
    .obj/release-shared-emb-arm/qjpunicode.o
    .obj/release-shared-emb-arm/qeucjpcodec.o
    .obj/release-shared-emb-arm/qjiscodec.o
    .obj/release-shared-emb-arm/qsjiscodec.o
    .obj/release-shared-emb-arm/qeuckrcodec.o
    .obj/release-shared-emb-arm/qbig5codec.o
    .obj/release-shared-emb-arm/qfontjpcodec.o
    .obj/release-shared-emb-arm/qstatemachine.o
    .obj/release-shared-emb-arm/qabstractstate.o
    .obj/release-shared-emb-arm/qstate.o
    @



  • and final part
    @.obj/release-shared-emb-arm/qfinalstate.o
    .obj/release-shared-emb-arm/qhistorystate.o
    .obj/release-shared-emb-arm/qabstracttransition.o
    .obj/release-shared-emb-arm/qsignaltransition.o
    .obj/release-shared-emb-arm/qeventtransition.o
    .obj/release-shared-emb-arm/qxmlstream.o
    .obj/release-shared-emb-arm/qxmlutils.o
    .obj/release-shared-emb-arm/moc_qabstractanimation_p.o
    .obj/release-shared-emb-arm/moc_qfuturewatcher.o
    .obj/release-shared-emb-arm/moc_qthreadpool.o
    .obj/release-shared-emb-arm/moc_qnamespace.o
    .obj/release-shared-emb-arm/moc_qthread.o
    .obj/release-shared-emb-arm/moc_qeasingcurve.o
    .obj/release-shared-emb-arm/moc_qlocale.o
    .obj/release-shared-emb-arm/moc_qtimeline.o
    .obj/release-shared-emb-arm/moc_qfile.o
    .obj/release-shared-emb-arm/moc_qiodevice.o
    .obj/release-shared-emb-arm/moc_qnoncontiguousbytedevice_p.o
    .obj/release-shared-emb-arm/moc_qtemporaryfile.o
    .obj/release-shared-emb-arm/moc_qsettings.o
    .obj/release-shared-emb-arm/moc_qfilesystemwatcher_p.o
    .obj/release-shared-emb-arm/moc_qfilesystemwatcher_inotify_p.o
    .obj/release-shared-emb-arm/moc_qfilesystemwatcher_dnotify_p.o
    .obj/release-shared-emb-arm/moc_qpluginloader.o
    .obj/release-shared-emb-arm/moc_qlibrary.o
    .obj/release-shared-emb-arm/moc_qfactoryloader_p.o
    .obj/release-shared-emb-arm/moc_qabstracteventdispatcher.o
    .obj/release-shared-emb-arm/moc_qabstractitemmodel.o
    .obj/release-shared-emb-arm/moc_qeventloop.o
    .obj/release-shared-emb-arm/moc_qcoreapplication.o
    .obj/release-shared-emb-arm/moc_qcoreevent.o
    .obj/release-shared-emb-arm/moc_qmimedata.o
    .obj/release-shared-emb-arm/moc_qsocketnotifier.o
    .obj/release-shared-emb-arm/moc_qtimer.o
    .obj/release-shared-emb-arm/moc_qtranslator.o
    .obj/release-shared-emb-arm/moc_qobjectcleanuphandler.o
    .obj/release-shared-emb-arm/moc_qsharedmemory.o
    .obj/release-shared-emb-arm/moc_qeventdispatcher_unix_p.o
    .obj/release-shared-emb-arm/moc_qtextcodecplugin.o
    .obj/release-shared-emb-arm/moc_qabstractstate.o
    .obj/release-shared-emb-arm/moc_qstate.o
    .obj/release-shared-emb-arm/moc_qfinalstate.o
    .obj/release-shared-emb-arm/moc_qhistorystate.o
    .obj/release-shared-emb-arm/moc_qabstracttransition.o
    .obj/release-shared-emb-arm/moc_qsignaltransition.o
    .obj/release-shared-emb-arm/moc_qeventtransition.o
    -L/home/engin/Desktop/qt-everywhere-opensource-src-4.8.4/lib
    -lpthread
    -lm
    -ldl
    -lrt

    /home/engin/CodeSourcery/arm-2010.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/crtbeginS.o:(.ARM.exidx+0x0):
    undefined
    reference
    to
    __aeabi_unwind_cpp_pr1' .obj/release-shared-emb-arm/qabstractanimation.o:(.ARM.exidx.text._ZN16QAnimationDriver7startedEv[QAnimationDriver::started()]+0x0): undefined reference to__aeabi_unwind_cpp_pr0'@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.