QT 5.7 compile error
Solved
Mobile and Embedded
-
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 -
Hi,
Unless you plan to hack on Qt, remove the -developer-build option.
You seem to be lacking the tslib library.