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 5.7 compile error
Qt 6.11 is out! See what's new in the release blog

QT 5.7 compile error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 2 Posters 660 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bdahl
    wrote on last edited by
    #1

    Hi i want to build QT 5.7 from source on an imx6ull (ARM Device). After a while the compiler abort with the error message

    g++ -Wl,--no-undefined -fuse-ld=gold -Wl,--enable-new-dtags -Wl,-rpath,/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase/lib -Wl,-rpath-link,/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase/lib -shared -o libqminimal.so .obj/main.o .obj/qminimalintegration.o .obj/qminimalbackingstore.o  -L/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase/lib -lQt5PlatformSupport -lts -lQt5DBus -lXext -lX11 -lm -ldl -lgthread-2.0 -pthread -lglib-2.0 -linput -lxkbcommon -ludev -lfontconfig -lfreetype -lEGL -lQt5Gui -lQt5Core -lGLESv2 -lpthread -lfontconfig -lfreetype
    /usr/bin/ld.gold: error: cannot find -lts
    collect2: error: ld returned 1 exit status
    Makefile:207: recipe for target '../../../../plugins/platforms/libqminimal.so' failed
    make[5]: *** [../../../../plugins/platforms/libqminimal.so] Error 1
    make[5]: Leaving directory '/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase/src/plugins/platforms/minimal'
    Makefile:47: recipe for target 'sub-minimal-make_first' failed
    make[4]: *** [sub-minimal-make_first] Error 2
    make[4]: Leaving directory '/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase/src/plugins/platforms'
    Makefile:99: recipe for target 'sub-platforms-make_first' failed
    make[3]: *** [sub-platforms-make_first] Error 2
    make[3]: Leaving directory '/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase/src/plugins'
    Makefile:694: recipe for target 'sub-plugins-make_first' failed
    make[2]: *** [sub-plugins-make_first] Error 2
    make[2]: Leaving directory '/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase/src'
    Makefile:46: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/media/usb1/qt-everywhere-opensource-src-5.7.1/qtbase'
    Makefile:66: recipe for target 'module-qtbase-make_first' failed
    make: *** [module-qtbase-make_first] Error 2
    
    

    I have configured it with:

    ./configure -developer-build -commercial -confirm-license -no-sse2 -no-sse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-avx512 -no-sql-mysql -no-openssl -no-pulseaudio -no-alsa -v -directfb -no-gstreamer -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtdatavis3d -skip qtmacextras -skip qtmultimedia -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -qt-xcb -opengl es2
    
    

    Can anybody help me?

    Bests
    Brian

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Unless you plan to hack on Qt, remove the -developer-build option.

      You seem to be lacking the tslib library.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

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