Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt cross-compilation with DVSDK - undefined reference
QtWS25 Last Chance

Qt cross-compilation with DVSDK - undefined reference

Scheduled Pinned Locked Moved Mobile and Embedded
embedded linuxqt 5cross compile
1 Posts 1 Posters 841 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alexey.petrenko
    wrote on 4 Jun 2015, 01:39 last edited by alexey.petrenko 6 Apr 2015, 01:39
    #1

    I am trying to compile Qt for Embedded Linux system with TI DVSDK.
    http://www.ti.com/tool/linuxdvsdk-dm37x

    So far everything went ok, I was able to build the root filesystem via buildroot with all the required libraries (I believe), Qt configure went fine, then I do "make".

    Unfortunately in the end of compilation there are always linker errors:

    .obj/release-shared/qguivariantanimation.o: In function `global constructors keyed to qguivariantanimation.cpp':
    qguivariantanimation.cpp:(.text+0x18): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'
    qguivariantanimation.cpp:(.text+0x28): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'
    qguivariantanimation.cpp:(.text+0x38): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'
    qguivariantanimation.cpp:(.text+0x48): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'
    qguivariantanimation.cpp:(.text+0x58): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'
    .obj/release-shared/qguivariantanimation.o:qguivariantanimation.cpp:(.text+0xb0): more undefined references to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)' follow
    collect2: ld returned 1 exit status
    make[3]: *** [../../lib/libQt5Gui.so.5.1.1] Error 1
    make[3]: Leaving directory `/home/alexey/tenzor/qt/qt-everywhere-opensource-src-5.1.1/qtbase/src/gui'
    make[2]: *** [sub-gui-make_first] Error 2
    make[2]: Leaving directory `/home/alexey/tenzor/qt/qt-everywhere-opensource-src-5.1.1/qtbase/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory `/home/alexey/tenzor/qt/qt-everywhere-opensource-src-5.1.1/qtbase'
    make: *** [module-qtbase-make_first] Error 2
    

    My configure line is:

    ./configure -prefix /usr/local/qt5 -release -make libs -xplatform linux-arm-gnueabi-ti-g++ -opengl es2 -confirm-license -opensource -icu -no-xcb -no-pch -no-fontconfig -no-c++11 -verbose
    

    It's not clear for me what could cause this. Please help, any advise is appreciated :)

    1 Reply Last reply
    0

    1/1

    4 Jun 2015, 01:39

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved