Error During QT (5.7.1) Cross Compilation
Unsolved
Installation and Deployment
-
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.
-
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.