[Interest] Yocto + Qt5.3.2 error

Ramakanthreddy Kesireddy Ramakanthreddy.Kesireddy at TechMahindra.com
Wed Oct 15 13:11:37 CEST 2014


Hi,



The configure line and output for the below error is given below:


./configure -v -opensource -confirm-license -device imx6 -device-option CROSS_COMPILE=/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot /home/sona/Yocto_10102014/build/tmp/sysroots/imx6qsabreauto -prefix ~/qt5 -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -accessibility -dbus -no-icu -no-directfb -evdev -fontconfig -no-opengl -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis -openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -system-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib -continue



Build options:
  Configuration .......... accessibility alsa audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile dbus egl eglfs evdev eventfd freetype full-config getaddrinfo getifaddrs inotify ipv6ifname large-config largefile libudev medium-config minimal-config mremap no-harfbuzz opengl opengles2 openssl openvg pcre png posix_fallocate qpa qpa reduce_exports release shared small-config system-jpeg system-png system-sqlite system-zlib tslib
  Build parts ............ libs examples
  Mode ................... release
  Using C++11 ............ yes
  Using PCH .............. no
  Target compiler supports:
    iWMMXt/Neon .......... no/auto

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 ................... yes
  CUPS ................... no
  Evdev .................. yes
  FontConfig ............. no
  FreeType ............... yes (bundled copy)
  Glib ................... no
  GTK theme .............. no
  HarfBuzz ............... no
  Iconv .................. no
  ICU .................... no
  Image formats:
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using system library)
    PNG .................. yes (in QtGui, using system library)
  journald ............... no
  mtdev .................. no
  Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    OpenSSL .............. yes (loading libraries at run-time)
  NIS .................... no
  OpenGL / OpenVG:
    EGL .................. yes
    OpenGL ............... yes (OpenGL ES 2.x)
    OpenVG ............... yes-auto
  PCRE ................... yes (bundled copy)
  pkg-config ............. yes
  PulseAudio ............. no
  QPA backends:
    DirectFB ............. no
    EGLFS ................ yes
    KMS .................. no
    LinuxFB .............. no
    XCB .................. no
  Session management ..... no
  SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using system library)
    TDS .................. no
  udev ................... yes
  xkbcommon .............. no
  zlib ................... yes (system library)

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'.

Thanks and Regards,
Ramakanth

From: Ramakanthreddy Kesireddy
Sent: Wednesday, October 15, 2014 4:31 PM
To: interest at qt-project.org
Subject: Yocto + Qt5.3.2 error

Hi,

I could cross compile Qt5.3 Beta version successfully earlier using meta toolchain created with Yocto recipes on IMX6 Sabre AI board.
However, when I try to cross compile Qt5.3.2, it gives below error.


../../../include/QtCore/../../src/corelib/global/qcompilerdetection.h:846:20: fatal error: utility: No such file or directory
 # include <utility>
                    ^
compilation terminated.
make[3]: *** [.obj/qutfcodec.o] Error 1
In file included from ../../../include/QtCore/qcompilerdetection.h:1:0,
                 from ../../../include/QtCore/../../src/corelib/global/qglobal.h:78,
                 from ../../../include/QtCore/qglobal.h:1,
                 from ../../../mkspecs/linux-g++/qplatformdefs.h:47,
                 from ../../corelib/global/qglobal.cpp:42:
../../../include/QtCore/../../src/corelib/global/qcompilerdetection.h:846:20: fatal error: utility: No such file or directory
 # include <utility>
                    ^
compilation terminated.
make[3]: *** [.obj/qglobal.o] Error 1
make[3]: Leaving directory `/home/sona/Yocto_10102014/qt-everywhere-opensource-src-5.3.2/qtbase/src/tools/bootstrap'
make[2]: *** [sub-bootstrap-make_first] Error 2
make[2]: Leaving directory `/home/sona/Yocto_10102014/qt-everywhere-opensource-src-5.3.2/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/sona/Yocto_10102014/qt-everywhere-opensource-src-5.3.2/qtbase'
make: *** [module-qtbase-make_first] Error 2

Please let me know if am missing anything in this regard.

Thanks and Regards,
Ramakanth


============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141015/805ab3bb/attachment.html>


More information about the Interest mailing list