Unsolved Qt 5.6.2 Cross compile for ARM
-
Hello,
I am really sorry for rising such topic here, but I've spent several days trying to cross compile Qt from sources without success. I'm pretty new in Linux, Qt and cross compilation at all. So, I am trying to cross compile Qt 5.6.2 for ARM based display. Host machine is VM x64 running Ubuntu 16.04 LTS. The main goal is to be able to build graphical application for this display.
I've downloaded Qt Source code from here:
https://download.qt.io/new_archive/qt/5.6/5.6.2/single/Cross compile toolchain is gcc linaro ARM Linux:
gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linuxgcc/g++ compiler version:
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609arm-linux-gnueabihf-gcc/g++ cross tool version:
gcc version 4.8.2 20131014 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2013.10 - Linaro GCC 2013.10)
I've try to cross-compile simple hello_world console application and run it on the device, it works.I've extracted both toolchain and Qt sources. I've found instruction qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf has to be modified in following way - all "gnueabi" strings shall become "gnueabihf", so i did it.
Here is my configure command:
configure -developer-build -opensource -confirm-license -prefix /usr/local/Qt-5.6.2-arm -no-glib -no-pulseaudio -no-alsa -nomake examples -nomake tests -xplatform linux-arm-gnueabi-g++ -pkg-config -v
I'm not sure in this command, it's collected from different sources in the WEB. After execution there are a lot of errors, but in the end I am able to run make.
My main question is - am I on the right track to cross-complile Qt? I find out in the log there are a lot of external packages/libraries, which are currenty not availabe in my configuration. What's the way to add them?Best regards,
Ivanigorchev@igorchev-VirtualBox:~/Downloads/qt-everywhere-opensource-src-5.6.2$ ./configure -developer-build -opensource -confirm-license -prefix /usr/local/Qt-5.6.2-arm -no-glib -no-pulseaudio -no-alsa -nomake examples -nomake tests -xplatform linux-arm-gnueabi-g++ -v + cd qtbase + /home/igorchev/Downloads/qt-everywhere-opensource-src-5.6.2/qtbase/configure -top-level -developer-build -opensource -confirm-license -prefix /usr/local/Qt-5.6.2-arm -no-glib -no-pulseaudio -no-alsa -nomake examples -nomake tests -xplatform linux-arm-gnueabi-g++ -v This is the Qt Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU Lesser General Public License (LGPL) versions 3. You have already accepted the terms of the Open Source license. Running configuration tests (phase 1)... Precompiled-headers support enabled. arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c Symbol visibility control enabled. arm-linux-gnueabihf-g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)." #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)." ^ Symbolic function binding disabled. DEFAULT_INCDIRS="/home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/include/c++/4.8.2 /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/include/c++/4.8.2/arm-linux-gnueabihf /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/include/c++/4.8.2/backward /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/lib/gcc/arm-linux-gnueabihf/4.8.2/include /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/lib/gcc/arm-linux-gnueabihf/4.8.2/include-fixed /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/include /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/libc/usr/include " DEFAULT_LIBDIRS="/home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/libc/usr/lib /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/lib/gcc/arm-linux-gnueabihf/4.8.2 /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/lib/gcc/arm-linux-gnueabihf /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/lib/gcc /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/lib /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/libc/lib/arm-linux-gnueabihf /home/igorchev/Downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/arm-linux-gnueabihf/libc/lib " Done running configuration tests. Creating qmake... make: Nothing to be done for 'first'. Running configuration tests (phase 2)... Found pkg-config from $PATH: /usr/bin/pkg-config Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set and the host's .pc files would be used (even if you set PKG_CONFIG_PATH). Set this variable to the directory that contains target .pc files for pkg-config to function correctly when cross-compiling or use -pkg-config to override this test. Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set. Set this variable to your sysroot for pkg-config to function correctly when cross-compiling or use -pkg-config to override this test. Determining architecture... () arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../mkspecs/linux-arm-gnueabi-g++ -o arch.o arch.cpp arm-linux-gnueabihf-g++ -o arch arch.o Found architecture in binary CFG_ARCH="arm" CFG_CPUFEATURES="" Determining architecture... () g++ -c -pipe -g -Wall -W -fPIC -I. -I../../mkspecs/linux-g++ -o arch.o arch.cpp g++ -o arch arch.o Found architecture in binary CFG_HOST_ARCH="x86_64" CFG_HOST_CPUFEATURES=" mmx sse sse2" System architecture: 'arm' Host architecture: 'x86_64' checking for C++11... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o c++11.o c++11.cpp arm-linux-gnueabihf-g++ -o c++11 c++11.o C++11 enabled. checking for C++14... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++1y -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o c++14.o c++14.cpp c++14.cpp:37:4: error: #error "__cplusplus must be > 201103L (the value of C++11)" # error "__cplusplus must be > 201103L (the value of C++11)" ^ Makefile:411: recipe for target 'c++14.o' failed make: *** [c++14.o] Error 1 C++14 disabled. checking for default C++ standard edition... arm-linux-gnueabihf-g++ -pipe -g -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o c++default.ii -E c++default.cpp default C++ standard edition enabled. checking for 64-bit std::atomic... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o atomic64.o atomic64.cpp arm-linux-gnueabihf-g++ -o atomic64 atomic64.o 64-bit std::atomic enabled. checking for sse2... arm-linux-gnueabihf-g++ -c -pipe -msse2 -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o sse2.o sse2.cpp arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse2’ Makefile:411: recipe for target 'sse2.o' failed make: *** [sse2.o] Error 1 sse2 disabled. checking for ipc_sysv... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o ipc.o ipc.cpp arm-linux-gnueabihf-g++ -o ipc_sysv ipc.o ipc_sysv enabled. checking for zlib... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o zlib.o zlib.cpp zlib.cpp:34:18: fatal error: zlib.h: No such file or directory #include <zlib.h> ^ compilation terminated. Makefile:411: recipe for target 'zlib.o' failed make: *** [zlib.o] Error 1 zlib disabled. checking for mtdev... Project WARNING: pkg-config disabled, can't check package existence Project ERROR: mtdev development package not found mtdev disabled. checking for libjpeg... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o libjpeg.o libjpeg.cpp libjpeg.cpp:37:21: fatal error: jpeglib.h: No such file or directory #include <jpeglib.h> ^ compilation terminated. Makefile:411: recipe for target 'libjpeg.o' failed make: *** [libjpeg.o] Error 1 libjpeg disabled. checking for libpng... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o libpng.o libpng.cpp libpng.cpp:34:17: fatal error: png.h: No such file or directory #include <png.h> ^ compilation terminated. Makefile:411: recipe for target 'libpng.o' failed make: *** [libpng.o] Error 1 libpng disabled. checking for dlopen... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o dlopen.o dlopen.cpp arm-linux-gnueabihf-g++ -o dlopen dlopen.o dlopen.o: In function `main': /home/igorchev/Downloads/qt-everywhere-opensource-src-5.6.2/qtbase/config.tests/unix/dlopen/dlopen.cpp:38: undefined reference to `dlopen' collect2: error: ld returned 1 exit status Makefile:163: recipe for target 'dlopen' failed make: *** [dlopen] Error 1 dlopen disabled. checking for libdl... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o dlopen.o ../dlopen/dlopen.cpp arm-linux-gnueabihf-g++ -o libdl dlopen.o -ldl libdl enabled. checking for DB2... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o db2.o db2.cpp db2.cpp:34:20: fatal error: sqlcli.h: No such file or directory #include <sqlcli.h> ^ compilation terminated. Makefile:411: recipe for target 'db2.o' failed make: *** [db2.o] Error 1 DB2 disabled. checking for InterBase... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o ibase.o ibase.cpp ibase.cpp:34:19: fatal error: ibase.h: No such file or directory #include <ibase.h> ^ compilation terminated. Makefile:411: recipe for target 'ibase.o' failed make: *** [ibase.o] Error 1 InterBase disabled. checking for MySQL (thread-safe)... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o mysql.o ../mysql/mysql.cpp ../mysql/mysql.cpp:34:19: fatal error: mysql.h: No such file or directory #include "mysql.h" ^ compilation terminated. Makefile:411: recipe for target 'mysql.o' failed make: *** [mysql.o] Error 1 MySQL (thread-safe) disabled. checking for MySQL (thread-unsafe)... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o mysql.o mysql.cpp mysql.cpp:34:19: fatal error: mysql.h: No such file or directory #include "mysql.h" ^ compilation terminated. Makefile:411: recipe for target 'mysql.o' failed make: *** [mysql.o] Error 1 MySQL (thread-unsafe) disabled. checking for OCI... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o oci.o oci.cpp oci.cpp:34:17: fatal error: oci.h: No such file or directory #include <oci.h> ^ compilation terminated. Makefile:411: recipe for target 'oci.o' failed make: *** [oci.o] Error 1 OCI disabled. checking for ODBC... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o odbc.o odbc.cpp odbc.cpp:37:17: fatal error: sql.h: No such file or directory #include <sql.h> ^ compilation terminated. Makefile:411: recipe for target 'odbc.o' failed make: *** [odbc.o] Error 1 ODBC disabled. checking for iODBC... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o iodbc.o iodbc.cpp iodbc.cpp:34:17: fatal error: sql.h: No such file or directory #include <sql.h> ^ compilation terminated. Makefile:411: recipe for target 'iodbc.o' failed make: *** [iodbc.o] Error 1 iODBC disabled. checking for PostgreSQL... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o psql.o psql.cpp psql.cpp:34:22: fatal error: libpq-fe.h: No such file or directory #include "libpq-fe.h" ^ compilation terminated. Makefile:411: recipe for target 'psql.o' failed make: *** [psql.o] Error 1 PostgreSQL disabled. checking for SQLite2... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o sqlite2.o sqlite2.cpp sqlite2.cpp:34:20: fatal error: sqlite.h: No such file or directory #include <sqlite.h> ^ compilation terminated. Makefile:411: recipe for target 'sqlite2.o' failed make: *** [sqlite2.o] Error 1 SQLite2 disabled. checking for TDS... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o tds.o tds.cpp tds.cpp:34:22: fatal error: sybfront.h: No such file or directory #include <sybfront.h> ^ compilation terminated. Makefile:411: recipe for target 'tds.o' failed make: *** [tds.o] Error 1 TDS disabled. checking for Cups... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o cups.o cups.cpp cups.cpp:34:23: fatal error: cups/cups.h: No such file or directory #include <cups/cups.h> ^ compilation terminated. Makefile:411: recipe for target 'cups.o' failed make: *** [cups.o] Error 1 Cups disabled. checking for POSIX iconv... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o iconv.o iconv.cpp arm-linux-gnueabihf-g++ -o iconv iconv.o POSIX iconv enabled. checking for D-Bus... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o dbus.o dbus.cpp dbus.cpp:35:23: fatal error: dbus/dbus.h: No such file or directory #include <dbus/dbus.h> ^ compilation terminated. Makefile:411: recipe for target 'dbus.o' failed make: *** [dbus.o] Error 1 D-Bus disabled. checking for libproxy... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o libproxy.o libproxy.cpp libproxy.cpp:36:19: fatal error: proxy.h: No such file or directory #include <proxy.h> ^ compilation terminated. Makefile:411: recipe for target 'libproxy.o' failed make: *** [libproxy.o] Error 1 libproxy disabled. checking for ICU... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o icu.o icu.cpp icu.cpp:34:28: fatal error: unicode/utypes.h: No such file or directory #include <unicode/utypes.h> ^ compilation terminated. Makefile:414: recipe for target 'icu.o' failed make: *** [icu.o] Error 1 ICU disabled. checking for OpenGL... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o opengldesktop.o opengldesktop.cpp opengldesktop.cpp:37:19: fatal error: GL/gl.h: No such file or directory #include <GL/gl.h> ^ compilation terminated. Makefile:411: recipe for target 'opengldesktop.o' failed make: *** [opengldesktop.o] Error 1 OpenGL disabled. checking for OpenGL ES 2.0... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o opengles2.o opengles2.cpp opengles2.cpp:37:25: fatal error: GLES2/gl2.h: No such file or directory #include <GLES2/gl2.h> ^ compilation terminated. Makefile:411: recipe for target 'opengles2.o' failed make: *** [opengles2.o] Error 1 OpenGL ES 2.0 disabled. checking for FontConfig... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o fontconfig.o fontconfig.cpp fontconfig.cpp:34:22: fatal error: ft2build.h: No such file or directory #include <ft2build.h> ^ compilation terminated. Makefile:414: recipe for target 'fontconfig.o' failed make: *** [fontconfig.o] Error 1 FontConfig disabled. checking for libudev... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o libudev.o libudev.cpp libudev.cpp:34:21: fatal error: libudev.h: No such file or directory #include <libudev.h> ^ compilation terminated. Makefile:411: recipe for target 'libudev.o' failed make: *** [libudev.o] Error 1 libudev disabled. checking for evdev... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o evdev.o evdev.cpp arm-linux-gnueabihf-g++ -o evdev evdev.o evdev enabled. checking for tslib... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o tslib.o tslib.cpp tslib.cpp:34:19: fatal error: tslib.h: No such file or directory #include <tslib.h> ^ compilation terminated. Makefile:411: recipe for target 'tslib.o' failed make: *** [tslib.o] Error 1 tslib disabled. checking for xkbcommon... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o xkbcommon.o xkbcommon.cpp xkbcommon.cpp:34:33: fatal error: xkbcommon/xkbcommon.h: No such file or directory #include <xkbcommon/xkbcommon.h> ^ compilation terminated. Makefile:411: recipe for target 'xkbcommon.o' failed make: *** [xkbcommon.o] Error 1 xkbcommon disabled. checking for XLib... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o xlib.o xlib.cpp xlib.cpp:34:22: fatal error: X11/Xlib.h: No such file or directory #include <X11/Xlib.h> ^ compilation terminated. Makefile:420: recipe for target 'xlib.o' failed make: *** [xlib.o] Error 1 XLib disabled. checking for Xrender... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o xrender.o xrender.cpp xrender.cpp:34:22: fatal error: X11/Xlib.h: No such file or directory #include <X11/Xlib.h> ^ compilation terminated. Makefile:420: recipe for target 'xrender.o' failed make: *** [xrender.o] Error 1 Xrender disabled. checking for XInput2... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o xinput2.o xinput2.cpp xinput2.cpp:34:22: fatal error: X11/Xlib.h: No such file or directory #include <X11/Xlib.h> ^ compilation terminated. Makefile:420: recipe for target 'xinput2.o' failed make: *** [xinput2.o] Error 1 XInput2 disabled. checking for xcb... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o xcb.o xcb.cpp xcb.cpp:34:21: fatal error: xcb/xcb.h: No such file or directory #include <xcb/xcb.h> ^ compilation terminated. Makefile:411: recipe for target 'xcb.o' failed make: *** [xcb.o] Error 1 xcb disabled. checking for GBM... Project WARNING: pkg-config disabled, can't check package existence Project ERROR: gbm development package not found GBM disabled. checking for LinuxFB... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o linuxfb.o linuxfb.cpp arm-linux-gnueabihf-g++ -o linuxfb linuxfb.o LinuxFB enabled. checking for KMS... Project WARNING: pkg-config disabled, can't check package existence Project ERROR: libdrm development package not found KMS disabled. checking for Mir client... Project WARNING: pkg-config disabled, can't check package existence Project ERROR: egl development package not found Mir client disabled. checking for EGL... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o egl.o egl.cpp egl.cpp:34:21: fatal error: EGL/egl.h: No such file or directory #include <EGL/egl.h> ^ compilation terminated. Makefile:411: recipe for target 'egl.o' failed make: *** [egl.o] Error 1 EGL disabled. checking for FreeType... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o freetype.o freetype.cpp freetype.cpp:34:22: fatal error: ft2build.h: No such file or directory #include <ft2build.h> ^ compilation terminated. Makefile:414: recipe for target 'freetype.o' failed make: *** [freetype.o] Error 1 FreeType disabled. checking for STL... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o stltest.o stltest.cpp stltest.cpp: In function ‘int main()’: stltest.cpp:128:13: warning: variable ‘first’ set but not used [-Wunused-but-set-variable] int first = (*m1it).first; ^ stltest.cpp:130:16: warning: variable ‘second’ set but not used [-Wunused-but-set-variable] double second = (*m1it).second; ^ stltest.cpp:101:9: warning: variable ‘v1size’ set but not used [-Wunused-but-set-variable] int v1size = v1.size(); ^ stltest.cpp:103:9: warning: variable ‘v1capacity’ set but not used [-Wunused-but-set-variable] int v1capacity = v1.capacity(); ^ stltest.cpp:107:10: warning: variable ‘v1notfound’ set but not used [-Wunused-but-set-variable] bool v1notfound = (v1it == v1.end()); ^ stltest.cpp:111:10: warning: variable ‘v1found’ set but not used [-Wunused-but-set-variable] bool v1found = (v1it != v1.end()); ^ stltest.cpp:116:9: warning: variable ‘v2size’ set but not used [-Wunused-but-set-variable] int v2size = v2.size(); ^ stltest.cpp:124:9: warning: variable ‘m1size’ set but not used [-Wunused-but-set-variable] int m1size = m1.size(); ^ stltest.cpp:134:9: warning: variable ‘m2size’ set but not used [-Wunused-but-set-variable] int m2size = m2.size(); ^ stltest.cpp:138:9: warning: unused variable ‘n’ [-Wunused-variable] int n = std::distance(it1, it2); ^ arm-linux-gnueabihf-g++ -o stl stltest.o STL enabled. checking for POSIX clock_gettime()... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o clock-gettime.o clock-gettime.cpp arm-linux-gnueabihf-g++ -o clock-gettime clock-gettime.o -lrt POSIX clock_gettime() enabled. checking for POSIX Monotonic Clock... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o clock-monotonic.o clock-monotonic.cpp arm-linux-gnueabihf-g++ -o clock-monotonic clock-monotonic.o -lrt POSIX Monotonic Clock enabled. checking for posix_fallocate... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o posix_fallocate.o posix_fallocate.cpp arm-linux-gnueabihf-g++ -o posix_fallocate posix_fallocate.o posix_fallocate enabled. checking for mremap... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o mremap.o mremap.cpp arm-linux-gnueabihf-g++ -o mremap mremap.o mremap enabled. checking for getaddrinfo... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o getaddrinfotest.o getaddrinfotest.cpp arm-linux-gnueabihf-g++ -o getaddrinfo getaddrinfotest.o getaddrinfo enabled. checking for inotify... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o inotifytest.o inotifytest.cpp arm-linux-gnueabihf-g++ -o inotify inotifytest.o inotify enabled. checking for eventfd... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o main.o main.cpp arm-linux-gnueabihf-g++ -o eventfd main.o eventfd enabled. checking for IPv6 interface name... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o ipv6ifname.o ipv6ifname.cpp arm-linux-gnueabihf-g++ -o ipv6ifname ipv6ifname.o IPv6 interface name enabled. checking for getifaddrs... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o getifaddrs.o getifaddrs.cpp arm-linux-gnueabihf-g++ -o getifaddrs getifaddrs.o getifaddrs enabled. checking for cloexec... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o cloexec.o cloexec.cpp arm-linux-gnueabihf-g++ -o cloexec cloexec.o cloexec enabled. checking for OpenSSL... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o openssl.o openssl.cpp openssl.cpp:34:30: fatal error: openssl/opensslv.h: No such file or directory #include <openssl/opensslv.h> ^ compilation terminated. Makefile:411: recipe for target 'openssl.o' failed make: *** [openssl.o] Error 1 OpenSSL disabled. checking for PCRE... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o pcre.o pcre.cpp pcre.cpp:34:18: fatal error: pcre.h: No such file or directory #include <pcre.h> ^ compilation terminated. Makefile:411: recipe for target 'pcre.o' failed make: *** [pcre.o] Error 1 PCRE disabled. checking for OpenVG... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o openvg.o openvg.cpp openvg.cpp:40:23: fatal error: VG/openvg.h: No such file or directory #include <VG/openvg.h> ^ compilation terminated. Makefile:411: recipe for target 'openvg.o' failed make: *** [openvg.o] Error 1 OpenVG disabled. checking for OpenVG... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o openvg.o openvg.cpp openvg.cpp:40:23: fatal error: VG/openvg.h: No such file or directory #include <VG/openvg.h> ^ compilation terminated. Makefile:411: recipe for target 'openvg.o' failed make: *** [openvg.o] Error 1 OpenVG disabled. checking for OpenVG (lc includes)... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -DQT_LOWER_CASE_VG_INCLUDES -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o openvg.o openvg.cpp openvg.cpp:38:23: fatal error: vg/openvg.h: No such file or directory #include <vg/openvg.h> ^ compilation terminated. Makefile:411: recipe for target 'openvg.o' failed make: *** [openvg.o] Error 1 OpenVG (lc includes) disabled. checking for OpenVG (lc includes)... arm-linux-gnueabihf-g++ -c -pipe -g -std=gnu++0x -Wall -W -fPIC -DQT_LOWER_CASE_VG_INCLUDES -I. -I../../../mkspecs/linux-arm-gnueabi-g++ -o openvg.o openvg.cpp openvg.cpp:38:23: fatal error: vg/openvg.h: No such file or directory #include <vg/openvg.h> ^ compilation terminated. Makefile:411: recipe for target 'openvg.o' failed make: *** [openvg.o] Error 1 OpenVG (lc includes) disabled. checking for GStreamer 1.0... Project WARNING: pkg-config disabled, can't check package existence Project ERROR: gstreamer-1.0 development package not found GStreamer 1.0 disabled. checking for GStreamer 0.10... Project WARNING: pkg-config disabled, can't check package existence Project ERROR: gstreamer-0.10 development package not found GStreamer 0.10 disabled. Done running configuration tests. Configure summary Building on: linux-g++ (x86_64, CPU features: mmx sse sse2) Building for: linux-arm-gnueabi-g++ (arm, CPU features: none detected) Platform notes: - Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV DEFINES += QT_NO_LIBUDEV DEFINES += QT_NO_TSLIB DEFINES += QT_NO_LIBINPUT QMAKE_X11_PREFIX = /usr sql-drivers = sql-plugins = sqlite qmake switches ......... Build options: Configuration .......... accessibility audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile dbus debug enable_new_dtags evdev eventfd freetype full-config getaddrinfo getifaddrs harfbuzz headersclean iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap no-pkg-config pcre png posix_fallocate precompile_header private_tests qpa qpa reduce_exports rpath shared small-config threadsafe-cloexec use_gold_linker warnings_are_errors zlib Build parts ............ libs Mode ................... debug Using sanitizer(s)...... none Using C++ standard ..... c++11 Using gold linker....... yes Using new DTAGS ........ yes Using PCH .............. yes Using LTCG ............. no Target compiler supports: Neon ................. no Qt modules and options: Qt D-Bus ............... yes (loading dbus-1 at runtime) Qt Concurrent .......... yes Qt GUI ................. yes Qt Widgets ............. yes Large File ............. yes QML debugging .......... yes Use system proxies ..... no Support enabled for: Accessibility .......... yes ALSA ................... no CUPS ................... no Evdev .................. yes FontConfig ............. no FreeType ............... yes (bundled copy) Glib ................... no GStreamer .............. no GTK theme .............. no HarfBuzz ............... yes (bundled copy) Iconv .................. yes ICU .................... no Image formats: GIF .................. yes (plugin, using bundled copy) JPEG ................. yes (plugin, using bundled copy) PNG .................. yes (in QtGui, using bundled copy) libinput................ no Logging backends: journald ............... no syslog ............... no mtdev .................. no Networking: getaddrinfo .......... yes getifaddrs ........... yes IPv6 ifname .......... yes libproxy.............. no OpenSSL .............. no OpenGL / OpenVG: EGL .................. no OpenGL ............... no OpenVG ............... no PCRE ................... yes (bundled copy) pkg-config ............. no PulseAudio ............. no QPA backends: DirectFB ............. no EGLFS ................ no EGLFS i.MX6 ........ no EGLFS i.MX6 Wayland. no EGLFS EGLDevice .... no EGLFS GBM .......... no EGLFS Mali ......... no EGLFS Raspberry Pi . no EGLFS X11 .......... no LinuxFB .............. yes Mir client............ no XCB .................. no Session management ..... yes SQL drivers: DB2 .................. no InterBase ............ no MySQL ................ no OCI .................. no ODBC ................. no PostgreSQL ........... no SQLite 2 ............. no SQLite ............... yes (plugin, using bundled copy) TDS .................. no tslib .................. no udev ................... no xkbcommon-x11........... no xkbcommon-evdev......... no zlib ................... yes (bundled copy) NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1. Configure with '-qreal float' to create a build that is binary compatible with 5.1. Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into /usr/local/Qt-5.6.2-arm Prior to reconfiguration, make sure you remove any leftovers from the previous build.
-
Hi,
I found a lot of information regarding building various versions of Qt.
First of all I've changed the compiler with newer one to resolve issues with c++14.
I found detailed explanation regarding tool chains and sysroot, so I've downloaded latest Linaro tool chain and sysroot.
Also updated the configure command in following way:./configure -opensource -confirm-license -prefix /usr/local/Qt-5.6.2-arm -device linux-imx6-g++ \ -device-option CROSS_COMPILE=/home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- \ -sysroot /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -nomake examples -nomake tests
This command uses new tool chain and sysroot. Also I've started using qmake.conf in linux-imx6-g++ mkspec.
There were no errors during make. Here is the make command:
make -j4 ARCH=arm CROSS_COMPILE=/home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
After make install, Qt folder appeared. I've configured QtCreator to use new qmake and it accepted it. I will try to set-up kit and build something.
Best regards,
Ivan -
Hi,
Unfortunately previous attempts didn't bring me closer to working executable. I've started from the beginning with configure and make Qt.
Here is the latest configure command:./configure -opensource -confirm-license -qpa xcb -no-eglfs -no-pch -skip qttools -no-kms -prefix /usr/local/Qt-5.6.2-arm -device linux-imx6-g++ -device-option CROSS_COMPILE=/home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -qt-freetype -qt-pcre -nomake examples -nomake tests -v
When I try to configure Qt, using bundled xcb, configure fails. It's the same if i try to use system xcb. I've continued searching about the reason, but without success. Seems like all include paths to bundled third party libraries are missing during configure.
Here is the full log:
igorchev@igorchev-VirtualBox:~/Downloads/qt-everywhere-opensource-src-5.6.2$ ./configure -opensource -confirm-license -qpa xcb -no-eglfs -no-pch -skip qttools -no-kms -prefix /usr/local/Qt-5.6.2-arm -device linux-imx6-g++ -device-option CROSS_COMPILE=/home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -qt-freetype -qt-pcre -nomake examples -nomake tests -v + cd qtbase + /home/igorchev/Downloads/qt-everywhere-opensource-src-5.6.2/qtbase/configure -top-level -opensource -confirm-license -qpa xcb -no-eglfs -no-pch -skip qttools -no-kms -prefix /usr/local/Qt-5.6.2-arm -device linux-imx6-g++ -device-option CROSS_COMPILE=/home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -qt-freetype -qt-pcre -nomake examples -nomake tests -v This is the Qt Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU Lesser General Public License (LGPL) versions 3. You have already accepted the terms of the Open Source license. Running configuration tests (phase 1)... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c Symbol visibility control enabled. /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)." #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)." ^~~~~ Symbolic function binding disabled. DEFAULT_INCDIRS="/home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/7.5.0 /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/7.5.0/arm-linux-gnueabihf /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/7.5.0/backward /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/7.5.0/include /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/7.5.0/include-fixed /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf/usr/include " DEFAULT_LIBDIRS="/home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/7.5.0 /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/lib/gcc /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf/lib /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf/usr/lib " Done running configuration tests. Creating qmake... make: Nothing to be done for `first'. Running configuration tests (phase 2)... Found pkg-config from $PATH: /usr/bin/pkg-config Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set and the host's .pc files would be used (even if you set PKG_CONFIG_PATH). Set this variable to the directory that contains target .pc files for pkg-config to function correctly when cross-compiling or use -pkg-config to override this test. Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf Determining architecture... () /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -g -Wall -W -fPIC -I. -I../../mkspecs/devices/linux-imx6-g++ -o arch.o arch.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -o arch arch.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf Found architecture in binary CFG_ARCH="arm" CFG_CPUFEATURES=" neon" Determining architecture... () g++ -c -pipe -g -Wall -W -fPIC -I. -I../../mkspecs/linux-g++ -o arch.o arch.cpp g++ -o arch arch.o Found architecture in binary CFG_HOST_ARCH="x86_64" CFG_HOST_CPUFEATURES=" mmx sse sse2" System architecture: 'arm' Host architecture: 'x86_64' checking for C++11... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o c++11.o c++11.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o c++11 c++11.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf C++11 enabled. checking for C++14... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -std=gnu++1y -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o c++14.o c++14.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o c++14 c++14.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf C++14 enabled. checking for C++1z... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -std=gnu++1z -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o c++1z.o c++1z.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o c++1z c++1z.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf C++1z enabled. checking for default C++ standard edition... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o c++default.ii -E c++default.cpp default C++ standard edition enabled. checking for 64-bit std::atomic... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -std=gnu++0x -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o atomic64.o atomic64.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o atomic64 atomic64.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf 64-bit std::atomic enabled. checking for sse2... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -msse2 -g -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o sse2.o sse2.cpp arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse2’ make: *** [sse2.o] Error 1 sse2 disabled. checking for ipc_sysv... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o ipc.o ipc.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o ipc_sysv ipc.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf ipc_sysv enabled. checking for mtdev... Project WARNING: pkg-config disabled, can't check package existence Project ERROR: mtdev development package not found mtdev disabled. checking for dlopen... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o dlopen.o dlopen.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o dlopen dlopen.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf dlopen.o: In function `main': dlopen.cpp:(.text.startup+0x6): undefined reference to `dlopen' collect2: error: ld returned 1 exit status make: *** [dlopen] Error 1 dlopen disabled. checking for libdl... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o dlopen.o ../dlopen/dlopen.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o libdl dlopen.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -ldl libdl enabled. checking for DB2... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o db2.o db2.cpp db2.cpp:34:10: fatal error: sqlcli.h: No such file or directory #include <sqlcli.h> ^~~~~~~~~~ compilation terminated. make: *** [db2.o] Error 1 DB2 disabled. checking for InterBase... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o ibase.o ibase.cpp ibase.cpp:34:10: fatal error: ibase.h: No such file or directory #include <ibase.h> ^~~~~~~~~ compilation terminated. make: *** [ibase.o] Error 1 InterBase disabled. checking for MySQL (thread-safe)... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o mysql.o ../mysql/mysql.cpp ../mysql/mysql.cpp:34:10: fatal error: mysql.h: No such file or directory #include "mysql.h" ^~~~~~~~~ compilation terminated. make: *** [mysql.o] Error 1 MySQL (thread-safe) disabled. checking for MySQL (thread-unsafe)... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o mysql.o mysql.cpp mysql.cpp:34:10: fatal error: mysql.h: No such file or directory #include "mysql.h" ^~~~~~~~~ compilation terminated. make: *** [mysql.o] Error 1 MySQL (thread-unsafe) disabled. checking for OCI... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o oci.o oci.cpp oci.cpp:34:10: fatal error: oci.h: No such file or directory #include <oci.h> ^~~~~~~ compilation terminated. make: *** [oci.o] Error 1 OCI disabled. checking for ODBC... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o odbc.o odbc.cpp odbc.cpp:37:10: fatal error: sql.h: No such file or directory #include <sql.h> ^~~~~~~ compilation terminated. make: *** [odbc.o] Error 1 ODBC disabled. checking for iODBC... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o iodbc.o iodbc.cpp iodbc.cpp:34:10: fatal error: sql.h: No such file or directory #include <sql.h> ^~~~~~~ compilation terminated. make: *** [iodbc.o] Error 1 iODBC disabled. checking for PostgreSQL... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o psql.o psql.cpp psql.cpp:34:10: fatal error: libpq-fe.h: No such file or directory #include "libpq-fe.h" ^~~~~~~~~~~~ compilation terminated. make: *** [psql.o] Error 1 PostgreSQL disabled. checking for SQLite2... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o sqlite2.o sqlite2.cpp sqlite2.cpp:34:10: fatal error: sqlite.h: No such file or directory #include <sqlite.h> ^~~~~~~~~~ compilation terminated. make: *** [sqlite2.o] Error 1 SQLite2 disabled. checking for TDS... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o tds.o tds.cpp tds.cpp:34:10: fatal error: sybfront.h: No such file or directory #include <sybfront.h> ^~~~~~~~~~~~ compilation terminated. make: *** [tds.o] Error 1 TDS disabled. checking for Cups... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o cups.o cups.cpp cups.cpp:34:10: fatal error: cups/cups.h: No such file or directory #include <cups/cups.h> ^~~~~~~~~~~~~ compilation terminated. make: *** [cups.o] Error 1 Cups disabled. checking for POSIX iconv... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o iconv.o iconv.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o iconv iconv.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf POSIX iconv enabled. checking for D-Bus... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o dbus.o dbus.cpp dbus.cpp:35:10: fatal error: dbus/dbus.h: No such file or directory #include <dbus/dbus.h> ^~~~~~~~~~~~~ compilation terminated. make: *** [dbus.o] Error 1 D-Bus disabled. checking for libproxy... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o libproxy.o libproxy.cpp libproxy.cpp:36:10: fatal error: proxy.h: No such file or directory #include <proxy.h> ^~~~~~~~~ compilation terminated. make: *** [libproxy.o] Error 1 libproxy disabled. checking for Glib... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o glib.o glib.cpp glib.cpp:36:10: fatal error: glib.h: No such file or directory #include <glib.h> ^~~~~~~~ compilation terminated. make: *** [glib.o] Error 1 Glib disabled. checking for ICU... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o icu.o icu.cpp icu.cpp:34:10: fatal error: unicode/utypes.h: No such file or directory #include <unicode/utypes.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [icu.o] Error 1 ICU disabled. checking for PulseAudio... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o pulseaudio.o pulseaudio.cpp pulseaudio.cpp:34:10: fatal error: pulse/pulseaudio.h: No such file or directory #include <pulse/pulseaudio.h> ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [pulseaudio.o] Error 1 PulseAudio disabled. checking for OpenGL... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o opengldesktop.o opengldesktop.cpp opengldesktop.cpp:37:10: fatal error: GL/gl.h: No such file or directory #include <GL/gl.h> ^~~~~~~~~ compilation terminated. make: *** [opengldesktop.o] Error 1 OpenGL disabled. checking for OpenGL ES 2.0... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o opengles2.o opengles2.cpp opengles2.cpp:37:12: fatal error: GLES2/gl2.h: No such file or directory #include <GLES2/gl2.h> ^~~~~~~~~~~~~ compilation terminated. make: *** [opengles2.o] Error 1 OpenGL ES 2.0 disabled. checking for FontConfig... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o fontconfig.o fontconfig.cpp fontconfig.cpp:34:10: fatal error: ft2build.h: No such file or directory #include <ft2build.h> ^~~~~~~~~~~~ compilation terminated. make: *** [fontconfig.o] Error 1 FontConfig disabled. checking for libudev... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o libudev.o libudev.cpp libudev.cpp:34:10: fatal error: libudev.h: No such file or directory #include <libudev.h> ^~~~~~~~~~~ compilation terminated. make: *** [libudev.o] Error 1 libudev disabled. checking for evdev... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o evdev.o evdev.cpp /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -Wl,-O1 -o evdev evdev.o --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf evdev enabled. checking for tslib... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o tslib.o tslib.cpp tslib.cpp:34:10: fatal error: tslib.h: No such file or directory #include <tslib.h> ^~~~~~~~~ compilation terminated. make: *** [tslib.o] Error 1 tslib disabled. checking for xkbcommon... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o xkbcommon.o xkbcommon.cpp xkbcommon.cpp:34:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory #include <xkbcommon/xkbcommon.h> ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [xkbcommon.o] Error 1 xkbcommon disabled. checking for XLib... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o xlib.o xlib.cpp xlib.cpp:34:10: fatal error: X11/Xlib.h: No such file or directory #include <X11/Xlib.h> ^~~~~~~~~~~~ compilation terminated. make: *** [xlib.o] Error 1 XLib disabled. checking for Xrender... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o xrender.o xrender.cpp xrender.cpp:34:10: fatal error: X11/Xlib.h: No such file or directory #include <X11/Xlib.h> ^~~~~~~~~~~~ compilation terminated. make: *** [xrender.o] Error 1 Xrender disabled. checking for XInput2... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o xinput2.o xinput2.cpp xinput2.cpp:34:10: fatal error: X11/Xlib.h: No such file or directory #include <X11/Xlib.h> ^~~~~~~~~~~~ compilation terminated. make: *** [xinput2.o] Error 1 XInput2 disabled. checking for xcb... /home/igorchev/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/home/igorchev/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -O2 -Wall -W -fPIC -I. -I../../../mkspecs/devices/linux-imx6-g++ -o xcb.o xcb.cpp xcb.cpp:34:10: fatal error: xcb/xcb.h: No such file or directory #include <xcb/xcb.h> ^~~~~~~~~~~ compilation terminated. make: *** [xcb.o] Error 1 xcb disabled. The test for linking against libxcb failed! Use of pkg-config is not enabled, maybe you want to pass -pkg-config? You might need to install dependency packages for libxcb. See src/plugins/platforms/xcb/README.
-
@Ivan_Gorchev, Hi, I'm stuck in a similar situation than you, so I'll try to help you,
Maybe you're installing the packages on your host compiler's version, you need to install them for your target (it's a very common mistake, others did and I).
Not sure if you are connected remotely on your target, or you're trying to cross compile everything before to send the libraries, if this is the case, maybe you can reach out about QEMU, it is a way to simulate different compilers versions (you need arm-linux-gnueabihf on your target and you might have X86-64 on your host).
Linaro Sysroot is very limited, you might want to try another way, Linaro's does not support opengl.
I'm not sure if this would help you.
-
@ununez, Hi! Thank you so much for your reply!
Last days I was digging in the same direction. I am almost sure all of the issues are because of the sysroot. I am using default Linaro sysroot, downloaded from their website.
I have an remote access to device, so I've made an attempt to copy etc, lib, sbin, usr and var from device, but this didn't help. I don't have an access to full image, device was delivered with already installed OS so I have an access once Linux is already boot. -
@Ivan_Gorchev ,What it worked for me is to copy the image with netcat, and mounted it on my host, so I was able to have a copy for the whole emmc data in my host.
You just need to open a connection between the host and the target with two commands:
Host ->sudo nc -l 19000|dd bs=1M of=name.img i.e sudo nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img Target ->sudo dd bs=1M if=/dev/blocktocopy|nc host_ip_address 19000 i.e sudo dd bs=1M if=/dev/mmcblk1p1|nc 192.168.7.1 19000
just make sure you applied an apt-get clean or reboot your target before execute the command (I got several errors when I tried to mounted)
Once the data is being transfered, you just need to mount the image into your host:
sudo mount -o loop name.img ~/path i.e sudo mount -o loop bbb-with-ssl-and-icu-dev.img ~/opt/mnt/rootfs/
and you can use as sysroot,
You can read how other people did it on raspberry or beaglebone :
https://wiki.qt.io/BeagleBone_Black_Beginners_GuideRaspberry is the most used board at this moment, so you will find a lot of info about how to use sync