Qt cross compilation in with latest toolchain for arm



  • -ubuntu2:~/work/4.9.41_sdk/qt/qt-everywhere-opensource-src-5.1.1$ sudo ./configure -prefix /home1/madhu/qt5.1.1_install -release -make libs -xplatform linux-arm-gnueabi-ti-g++ -opengl es2 -confirm-license -opensource -no-xcb -no-pch -make examples -verbose

    • cd qtbase
    • /home/ninad/work/4.9.41_sdk/qt/qt-everywhere-opensource-src-5.1.1/qtbase/configure -prefix /home1/madhu/qt5.1.1_install -release -make libs -xplatform linux-arm-gnueabi-ti-g++ -opengl es2 -confirm-license -opensource -no-xcb -no-pch -make examples -verbose
      /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
      Symbol visibility control enabled.
      /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
      /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
      /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lm
      collect2: error: ld returned 1 exit status
      Symbolic function binding disabled.

    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 have already accepted the terms of the license.

    Creating qmake...
    make: Nothing to be done for `first'.
    Running configuration tests...
    Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
    Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
    Determining architecture... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -g -Wall -W -fPIE -I../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o arch.o arch.cpp
    arch.cpp:45:19: fatal error: stdio.h: No such file or directory
    #include <stdio.h>
    ^
    compilation terminated.
    make: *** [arch.o] Error 1
    Unable to determine architecture!

    Could not determine the target architecture!
    Turn on verbose messaging (-v) to see the final report.
    Determining architecture... ()
    g++ -c -pipe -g -Wall -W -fPIE -I../../mkspecs/linux-g++ -I. -o arch.o arch.cpp
    g++ -o arch arch.o
    { test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]+([0-9]).([0-9]).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'arch' && test -f arch.gdb-index && objcopy --add-section '.gdb_index=arch.gdb-index' --set-section-flags '.gdb_index=readonly' 'arch' 'arch' && rm -f arch.gdb-index || true
    Found architecture in binary
    CFG_HOST_ARCH="x86_64"
    CFG_HOST_CPUFEATURES=" mmx sse sse2"
    System architecture: 'unknown'
    Host architecture: 'x86_64'
    C++11 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -std=c++0x -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o c++11.o c++11.cpp
    c++11.cpp:48:19: fatal error: utility: No such file or directory
    #include <utility>
    ^
    compilation terminated.
    make: *** [c++11.o] Error 1
    C++11 disabled.
    floatmath auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o floatmath.o floatmath.cpp
    floatmath.cpp:42:18: fatal error: math.h: No such file or directory
    #include <math.h>
    ^
    compilation terminated.
    make: *** [floatmath.o] Error 1
    floatmath disabled.
    sse2 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -msse2 -g -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o sse2.o sse2.cpp
    arm-linux-gnueabihf-g++: error: unrecognized command line option '-msse2'
    make: *** [sse2.o] Error 1
    sse2 disabled.
    sse3 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -msse3 -g -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o sse3.o sse3.cpp
    arm-linux-gnueabihf-g++: error: unrecognized command line option '-msse3'
    make: *** [sse3.o] Error 1
    sse3 disabled.
    ssse3 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -mssse3 -g -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o ssse3.o ssse3.cpp
    arm-linux-gnueabihf-g++: error: unrecognized command line option '-mssse3'
    make: *** [ssse3.o] Error 1
    ssse3 disabled.
    sse4_1 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -msse4.1 -g -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o sse4_1.o sse4_1.cpp
    arm-linux-gnueabihf-g++: error: unrecognized command line option '-msse4.1'
    make: *** [sse4_1.o] Error 1
    sse4_1 disabled.
    sse4_2 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -msse4.2 -g -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o sse4_2.o sse4_2.cpp
    arm-linux-gnueabihf-g++: error: unrecognized command line option '-msse4.2'
    make: *** [sse4_2.o] Error 1
    sse4_2 disabled.
    avx auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -mavx -g -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o avx.o avx.cpp
    arm-linux-gnueabihf-g++: error: unrecognized command line option '-mavx'; did you mean '-marm'?
    make: *** [avx.o] Error 1
    avx disabled.
    zlib auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o zlib.o zlib.cpp
    zlib.cpp:42:18: fatal error: zlib.h: No such file or directory
    #include <zlib.h>
    ^
    compilation terminated.
    make: *** [zlib.o] Error 1
    zlib disabled.
    libjpeg auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o libjpeg.o libjpeg.cpp
    libjpeg.cpp:42:23: fatal error: sys/types.h: No such file or directory
    #include <sys/types.h>
    ^
    compilation terminated.
    make: *** [libjpeg.o] Error 1
    libjpeg disabled.
    libpng auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o libpng.o libpng.cpp
    libpng.cpp:42:17: fatal error: png.h: No such file or directory
    #include <png.h>
    ^
    compilation terminated.
    make: *** [libpng.o] Error 1
    libpng disabled.
    DB2 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o db2.o db2.cpp
    db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory
    #include <sqlcli.h>
    ^
    compilation terminated.
    make: *** [db2.o] Error 1
    DB2 disabled.
    InterBase auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o ibase.o ibase.cpp
    ibase.cpp:42:19: fatal error: ibase.h: No such file or directory
    #include <ibase.h>
    ^
    compilation terminated.
    make: *** [ibase.o] Error 1
    InterBase disabled.
    MySQL (thread-safe) auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o mysql.o ../mysql/mysql.cpp
    ../mysql/mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
    #include "mysql.h"
    ^
    compilation terminated.
    make: *** [mysql.o] Error 1
    MySQL (thread-safe) disabled.
    MySQL (thread-unsafe) auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o mysql.o mysql.cpp
    mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
    #include "mysql.h"
    ^
    compilation terminated.
    make: *** [mysql.o] Error 1
    MySQL (thread-unsafe) disabled.
    OCI auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o oci.o oci.cpp
    oci.cpp:42:17: fatal error: oci.h: No such file or directory
    #include <oci.h>
    ^
    compilation terminated.
    make: *** [oci.o] Error 1
    OCI disabled.
    ODBC auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o odbc.o odbc.cpp
    odbc.cpp:45:17: fatal error: sql.h: No such file or directory
    #include <sql.h>
    ^
    compilation terminated.
    make: *** [odbc.o] Error 1
    ODBC disabled.
    iODBC auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o iodbc.o iodbc.cpp
    iodbc.cpp:42:17: fatal error: sql.h: No such file or directory
    #include <sql.h>
    ^
    compilation terminated.
    make: *** [iodbc.o] Error 1
    iODBC disabled.
    PostgreSQL auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o psql.o psql.cpp
    psql.cpp:42:22: fatal error: libpq-fe.h: No such file or directory
    #include "libpq-fe.h"
    ^
    compilation terminated.
    make: *** [psql.o] Error 1
    PostgreSQL disabled.
    SQLite2 auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o sqlite2.o sqlite2.cpp
    sqlite2.cpp:42:20: fatal error: sqlite.h: No such file or directory
    #include <sqlite.h>
    ^
    compilation terminated.
    make: *** [sqlite2.o] Error 1
    SQLite2 disabled.
    TDS auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o tds.o tds.cpp
    tds.cpp:42:22: fatal error: sybfront.h: No such file or directory
    #include <sybfront.h>
    ^
    compilation terminated.
    make: *** [tds.o] Error 1
    TDS disabled.
    NIS auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o nis.o nis.cpp
    nis.cpp:42:23: fatal error: sys/types.h: No such file or directory
    #include <sys/types.h>
    ^
    compilation terminated.
    make: *** [nis.o] Error 1
    NIS disabled.
    Cups auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o cups.o cups.cpp
    cups.cpp:42:23: fatal error: cups/cups.h: No such file or directory
    #include <cups/cups.h>
    ^
    compilation terminated.
    make: *** [cups.o] Error 1
    Cups disabled.
    POSIX iconv auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o iconv.o iconv.cpp
    iconv.cpp:45:19: fatal error: iconv.h: No such file or directory
    #include <iconv.h>
    ^
    compilation terminated.
    make: *** [iconv.o] Error 1
    POSIX iconv disabled.
    SUN libiconv auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o gnu-libiconv.o ../gnu-libiconv/gnu-libiconv.cpp
    ../gnu-libiconv/gnu-libiconv.cpp:45:19: fatal error: iconv.h: No such file or directory
    #include <iconv.h>
    ^
    compilation terminated.
    make: *** [gnu-libiconv.o] Error 1
    SUN libiconv disabled.
    GNU libiconv auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o gnu-libiconv.o gnu-libiconv.cpp
    gnu-libiconv.cpp:45:19: fatal error: iconv.h: No such file or directory
    #include <iconv.h>
    ^
    compilation terminated.
    make: *** [gnu-libiconv.o] Error 1
    GNU libiconv disabled.
    D-Bus auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o dbus.o dbus.cpp
    dbus.cpp:43:23: fatal error: dbus/dbus.h: No such file or directory
    #include <dbus/dbus.h>
    ^
    compilation terminated.
    make: *** [dbus.o] Error 1
    D-Bus disabled.
    Glib auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o glib.o glib.cpp
    glib.cpp:44:18: fatal error: glib.h: No such file or directory
    #include <glib.h>
    ^
    compilation terminated.
    make: *** [glib.o] Error 1
    Glib disabled.
    ICU auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o icu.o icu.cpp
    icu.cpp:42:28: fatal error: unicode/utypes.h: No such file or directory
    #include <unicode/utypes.h>
    ^
    compilation terminated.
    make: *** [icu.o] Error 1
    ICU disabled.
    PulseAudio auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o pulseaudio.o pulseaudio.cpp
    pulseaudio.cpp:42:30: fatal error: pulse/pulseaudio.h: No such file or directory
    #include <pulse/pulseaudio.h>
    ^
    compilation terminated.
    make: *** [pulseaudio.o] Error 1
    PulseAudio disabled.
    OpenGL ES 2.x auto-detection... ()
    /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-ti-g++ -I. -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/sgx/OGLES2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/glib-2.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/lib/glib-2.0/include/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/libxml2/ -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/freetype2 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0 -I/home/ninad/work/4.9.41_sdk/qt/rfs/usr/include/dbus-1.0/dbus -o opengles2.o opengles2.cpp
    opengles2.cpp:45:25: fatal error: GLES2/gl2.h: No such file or directory
    #include <GLES2/gl2.h>
    ^
    compilation terminated.
    make: *** [opengles2.o] Error 1
    OpenGL ES 2.x disabled.
    The OpenGL ES 2.0 functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
    /home/work/4.9.41_sdk/qt/qt-everywhere-opensource-src-5.1.1/qtbase/mkspecs/linux-arm-gnueabi-ti-g++.

    My qtbase/mkspecs/linux-arm-gnueabi-ti-g++/qmake.conf

    qmake configuration for building with arm-linux-gnueabi-g++

    MAKEFILE_GENERATOR = UNIX
    CONFIG += incremental gdb_dwarf_index
    QMAKE_INCREMENTAL_STYLE = sublib

    include(../common/linux.conf)
    include(../common/gcc-base-unix.conf)
    include(../common/g++-unix.conf)

    ROOTFS_PATH=/home/ninad/work/4.9.41_sdk/qt/rfs
    TOOLCHAIN_PREFIX=/home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf

    Change the required paths here

    QMAKE_INCDIR = $${ROOTFS_PATH}/usr/include $${ROOTFS_PATH}/usr/include/glib-2.0 $${ROOTFS_PATH}/usr/lib/glib-2.0/include/ $${ROOTFS_PATH}/usr/include/libxml2/ $${ROOTFS_PATH}/usr/include/freetype2 $${ROOTFS_PATH}/usr/include/dbus-1.0 $${ROOTFS_PATH}/usr/include/dbus-1.0/dbus

    QMAKE_LIBDIR = $${ROOTFS_PATH}/usr/lib/arm-linux-gnueabi $${ROOTFS_PATH}/usr/lib/libpthread_nonshared.a

    QMAKE_INCDIR_OPENGL_ES2 = $${ROOTFS_PATH}/usr/include/sgx/OGLES2
    QMAKE_LIBDIR_OPENGL_ES2 = $${ROOTFS_PATH}/opt/gfxlibraries/gfx_rel_es8.x
    QMAKE_INCDIR_EGL = $${QMAKE_INCDIR_OPENGL_ES2}
    QMAKE_LIBDIR_EGL = $${QMAKE_LIBDIR_OPENGL_ES2}

    libs

    #QMAKE_LIBS = -lxml2 -lz -lts -lasound -lfreetype -lexpat
    #-lfontconfig -lpng -lpthread -Wl,-rpath-link=$${ROOTFS_PATH}/usr/lib/arm-linux-gnueabi -Wl,-rpath-link=$${ROOTFS_PATH}/usr/lib -Wl,-rpath-#link=$${ROOTFS_PATH}/lib/arm-linux-gnueabi/

    QMAKE_LIBS_OPENGL_ES2= -lEGL -lIMGegl -lsrv_um -lGLESv2 -lGLES_CM -lusc
    QMAKE_LIBS_EGL= $${QMAKE_LIBS_OPENGL_ES2}
    QMAKE_LIBS_THREAD = -lpthread

    QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mfpu=neon -mfloat-abi=hard -fPIC

    QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE

    QMAKE_CC = $${TOOLCHAIN_PREFIX}-gcc
    QMAKE_CXX = $${TOOLCHAIN_PREFIX}-g++
    QMAKE_LINK = $${QMAKE_CXX}
    QMAKE_LINK_SHLIB = $${QMAKE_CXX}

    QMAKE_AR = $${TOOLCHAIN_PREFIX}-ar cqs
    QMAKE_OBJCOPY = $${TOOLCHAIN_PREFIX}-objcopy
    QMAKE_STRIP = $${TOOLCHAIN_PREFIX}-strip

    load(qt_config)

    Can anybody suggest..?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    First thing: avoid using such an outdated version of Qt 5.1 was released almost five years ago. Please consider using the current LTS (5.9) version if not the latest (5.10 currently)

    Then, don't use sudo, there's no reason to develop as root.

    Why doesn't ROOTFS_PATH point to /home/ninad/work/4.9.41_sdk/linux-devkit/sysroots/x86_64-arago-linux/ ?


Log in to reply
 

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