Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error During QT (5.7.1) Cross Compilation
QtWS25 Last Chance

Error During QT (5.7.1) Cross Compilation

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt5.7.1cross-compilingbuild errorcortexa8arm
2 Posts 2 Posters 608 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Milav
    wrote on 24 Sept 2019, 05:51 last edited by Milav
    #1

    Hello Guys,

    I Face the following error when i have just compiling the qt 5.7.1 for Phytec Wega Board.

    Error :-

    /home/teqdiligent/Teq_Projects/HMI/QT/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:313:20: note: the mangling of 'va_list' has changed in GCC 4.4
    ~/Teq_Projects/HMI/QT/toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-g++ -o "../bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o  -Wl,--gc-sections 
    Running configuration tests...
    Failed to process makespec for platform 'linux-arm-cortex-gnueabihf-g++'
    /home/teqdiligent/Teq_Projects/HMI/QT/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake: 1: /home/teqdiligent/Teq_Projects/HMI/QT/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake: Syntax error: word unexpected (expecting ")")
    

    I have Following version of Tool chain :- arm-cortexa8-linux-gnueabihf

    I use following Configuration :-

    teqdiligent@ubuntu:~/Teq_Projects/HMI/QT/qt-everywhere-opensource-src-5.7.1$ ./configure -opensource -confirm-license -platform linux-arm-cortex-gnueabihf-g++ -device-option CROSS_COMPILE=~/Teq_Projects/HMI/QT/toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf- -sysroot /media/teqdiligent/rootfs/usr/lib -make libs -prefix ~/Teq_Projects/HMI/QT/phytec_wega_build -v -no-use-gold-linker -no-gbm -opengl es2
    

    Please Help me to sort out this question.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Sept 2019, 21:02 last edited by
      #2

      Hi,

      Two question:

      • Why Qt 5.7.1 ? The current LTS is 5.12.5
      • Can you use a more recent version of GCC ? 4.4 is a bit old.

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

      1 Reply Last reply
      1

      2/2

      24 Sept 2019, 21:02

      • Login

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