[Development] Qt5 compilation on OpenWRT (

Rodrigo Gonçalves de Oliveira rodrigo.golive at gmail.com
Tue Feb 3 19:46:15 CET 2015


Hi. I'm trying to create a Qt5 package for OpenWRT (our solution runs on
top of a machine running it). The Makefile was based on this one [1].

I'm attaching the compilation error I'm getting here. The configuration is
attached as well, but we know it is not optimal, since we've disabled some
options just to get in the compilation step.

Also, I've tried to find some reference about the errors on the internet,
but no luck with it. Anyone had some similar problem, or can point where
I'm failing?

Thank you,
Rodrigo Oliveira

[1] https://github.com/rferrazz/qwebdomo-openwrt/tree/master/qt5

-- 
Rodrigo Gonçalves de Oliveira
Florianópolis, Brazil
+55 92 82599445
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150203/5dfe996f/attachment.html>
-------------- next part --------------
make[6]: Entering directory `/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0/qtbase/src/tools/bootstrap'
g++ -c -pipe -ffunction-sections -O2 -fPIC -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_LIBUDEV -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_\
NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_QMAKE_LOCATION=\\"/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0/qtbase/bin/qmake\\" -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTR\
INGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../../mkspecs/linux-g++ -I. -I/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include -I/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr\
/include/X11 -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I../../../include/QtCore/5.4.0 -I../../../include/QtCore/5.4.0/QtCore -I../../../include/QtXml/5.4.0 -I../../../include/QtXml/5.4.0/QtXml -I../../3rdparty/zlib -o .obj/qlatincodec.o ../../corelib/codecs/qlatincodec.cpp\
In file included from /srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qchar.h:45:0,\
                 from /srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:45,\
                 from /srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qtextcodec.h:45,\
                 from ../../corelib/codecs/qlatincodec_p.h:48,\
                 from ../../corelib/codecs/qlatincodec.cpp:34:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qglobal.h:1503:0: warning: "QT_NO_EXCEPTIONS" redefined [enabled by default]\
<command-line>:0:0: note: this is the location of the previous definition\
g++ -c -pipe -ffunction-sections -O2 -fPIC -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_LIBUDEV -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_\
NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_QMAKE_LOCATION=\\"/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0/qtbase/bin/qmake\\" -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTR\
INGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../../mkspecs/linux-g++ -I. -I/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include -I/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr\
/include/X11 -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I../../../include/QtCore/5.4.0 -I../../../include/QtCore/5.4.0/QtCore -I../../../include/QtXml/5.4.0 -I../../../include/QtXml/5.4.0/QtXml -I../../3rdparty/zlib -o .obj/qtextcodec.o ../../corelib/codecs/qtextcodec.cpp\
In file included from ../../../include/QtCore/qprocessordetection.h:1:0,\
                 from ../../../include/QtCore/../../src/corelib/global/qglobal.h:69,\
                 from ../../../include/QtCore/qglobal.h:1,\
                 from ../../../mkspecs/linux-g++/qplatformdefs.h:39,\
                 from ../../corelib/codecs/qtextcodec.cpp:34:\
../../../include/QtCore/../../src/corelib/global/qprocessordetection.h:65:0: warning: "Q_BIG_ENDIAN" redefined [enabled by default]\
In file included from ../../../include/QtCore/../../src/corelib/global/qglobal.h:51:0,\
                 from ../../../include/QtCore/qglobal.h:1,\
                 from ../../../mkspecs/linux-g++/qplatformdefs.h:39,\
                 from ../../corelib/codecs/qtextcodec.cpp:34:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qconfig.h:9:0: note: this is the location of the previous definition\
In file included from ../../../include/QtCore/qprocessordetection.h:1:0,\
                 from ../../../include/QtCore/../../src/corelib/global/qglobal.h:69,\
                 from ../../../include/QtCore/qglobal.h:1,\
                 from ../../../mkspecs/linux-g++/qplatformdefs.h:39,\
                 from ../../corelib/codecs/qtextcodec.cpp:34:\
../../../include/QtCore/../../src/corelib/global/qprocessordetection.h:70:0: warning: "Q_LITTLE_ENDIAN" redefined [enabled by default]\
In file included from ../../../include/QtCore/../../src/corelib/global/qglobal.h:51:0,\
                 from ../../../include/QtCore/qglobal.h:1,\
                 from ../../../mkspecs/linux-g++/qplatformdefs.h:39,\
                 from ../../corelib/codecs/qtextcodec.cpp:34:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qconfig.h:10:0: note: this is the location of the previous definition\
In file included from ../../../include/QtCore/../../src/corelib/tools/qstringlist.h:38:0,\
                 from ../../../include/QtCore/qstringlist.h:1,\
                 from ../../corelib/codecs/qtextcodec.cpp:42:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:91:2: error: #error Add the datastream version for this Qt version\
In file included from ../../../include/QtCore/qglobalstatic.h:1:0,\
                 from ../../../include/QtCore/../../src/corelib/global/qglobal.h:1088,\
                 from ../../../include/QtCore/qglobal.h:1,\
                 from ../../../mkspecs/linux-g++/qplatformdefs.h:39,\
                 from ../../corelib/codecs/qtextcodec.cpp:34:\
../../../include/QtCore/../../src/corelib/global/qglobalstatic.h: In member function 'bool QGlobalStatic<T, innerFunction, guard>::isDestroyed() const':\
../../../include/QtCore/../../src/corelib/global/qglobalstatic.h:126:45: error: 'class QBasicAtomicInt' has no member named 'load'\
../../../include/QtCore/../../src/corelib/global/qglobalstatic.h: In member function 'bool QGlobalStatic<T, innerFunction, guard>::exists() const':\
../../../include/QtCore/../../src/corelib/global/qglobalstatic.h:127:40: error: 'class QBasicAtomicInt' has no member named 'load'\
In file included from /srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:46:0,\
                 from ../../corelib/codecs/qtextcodec.h:37,\
                 from ../../corelib/codecs/qtextcodec.cpp:35:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h: At global scope:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:207:5: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:208:5: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:209:5: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h: In destructor 'QByteArray::~QByteArray()':\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:401:64: error: 'qFree' was not declared in this scope\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h: At global scope:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:523:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:525:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:575:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:611:1: error: redefinition of 'class QTypeInfo<QByteArray>'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qbytearray.h:610:1: error: previous definition of 'class QTypeInfo<QByteArray>'\
In file included from ../../corelib/codecs/qtextcodec.h:37:0,\
                 from ../../corelib/codecs/qtextcodec.cpp:35:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:194:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:195:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:196:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:204:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:209:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:900:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:902:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:904:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1095:1: error: redefinition of 'class QTypeInfo<QString>'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1094:1: error: previous definition of 'class QTypeInfo<QString>'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1132:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1133:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1134:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1135:12: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1275:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1277:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1279:8: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qstring.h:1281:8: error: 'QBool' does not name a type\
In file included from ../../corelib/codecs/qtextcodec.h:38:0,\
                 from ../../corelib/codecs/qtextcodec.cpp:35:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h:176:5: error: 'QBool' does not name a type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h: In member function 'QList<T>::Node* QList<T>::detach_helper_grow(int, int)':\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h:684:16: error: there are no arguments to 'qFree' that depend on a template parameter, so a declaration of 'qFree' must be available [-fpermissive]\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h:684:16: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h:694:16: error: there are no arguments to 'qFree' that depend on a template parameter, so a declaration of 'qFree' must be available [-fpermissive]\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h: In member function 'void QList<T>::detach_helper(int)':\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h:713:16: error: there are no arguments to 'qFree' that depend on a template parameter, so a declaration of 'qFree' must be available [-fpermissive]\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h: In member function 'void QList<T>::free(QListData::Data*)':\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h:759:15: error: there are no arguments to 'qFree' that depend on a template parameter, so a declaration of 'qFree' must be available [-fpermissive]\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h: At global scope:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qlist.h:880:22: error: 'QBool' does not name a type\
In file included from /srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qiodevice.h:49:0,\
                 from ../../../include/QtCore/../../src/corelib/io/qfiledevice.h:37,\
                 from ../../../include/QtCore/qfiledevice.h:1,\
                 from ../../../include/QtCore/../../src/corelib/io/qfile.h:37,\
                 from ../../../include/QtCore/qfile.h:1,\
                 from ../../corelib/codecs/qtextcodec.cpp:41:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h: In static member function 'static void QScopedPointerPodDeleter::cleanup(void*)':\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h:83:75: error: 'qFree' was not declared in this scope\
In file included from ../../../include/QtCore/../../src/corelib/tools/qstringlist.h:38:0,\
                 from ../../../include/QtCore/qstringlist.h:1,\
                 from ../../corelib/codecs/qtextcodec.cpp:42:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h: At global scope:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:92:9: error: expected '\}' before 'Qt_4_9'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:92:18: error: expected ';' at end of member declaration\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:113:17: error: expected unqualified-id before ')' token\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:114:36: error: expected ')' before '*' token\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:118:28: error: expected ')' before '*' token\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:119:17: error: expected unqualified-id before 'const'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:119:17: error: expected ')' before 'const'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:120:26: error: declaration of '~QDataStream' as non-member\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:122:25: error: non-member function 'QIODevice* device()' cannot have cv-qualifier\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:126:18: error: non-member function 'bool atEnd()' cannot have cv-qualifier\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:131:21: error: non-member function 'Status status()' cannot have cv-qualifier\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:135:53: error: non-member function 'FloatingPointPrecision floatingPointPrecision()' cannot have cv-qualifier\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:138:27: error: non-member function 'ByteOrder byteOrder()' cannot have cv-qualifier\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:141:19: error: non-member function 'int version()' cannot have cv-qualifier\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:144:37: error: 'QDataStream& operator>>(qint8&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:145:38: error: 'QDataStream& operator>>(quint8&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:146:38: error: 'QDataStream& operator>>(qint16&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:147:39: error: 'QDataStream& operator>>(quint16&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:148:38: error: 'QDataStream& operator>>(qint32&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:149:39: error: 'QDataStream& operator>>(quint32&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:150:38: error: 'QDataStream& operator>>(qint64&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:151:39: error: 'QDataStream& operator>>(quint64&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:153:36: error: 'QDataStream& operator>>(bool&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:154:37: error: 'QDataStream& operator>>(float&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:155:38: error: 'QDataStream& operator>>(double&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:156:39: error: 'QDataStream& operator>>(char*&)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:158:36: error: 'QDataStream& operator<<(qint8)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:159:37: error: 'QDataStream& operator<<(quint8)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:160:37: error: 'QDataStream& operator<<(qint16)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:161:38: error: 'QDataStream& operator<<(quint16)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:162:37: error: 'QDataStream& operator<<(qint32)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:163:38: error: 'QDataStream& operator<<(quint32)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:164:37: error: 'QDataStream& operator<<(qint64)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:165:38: error: 'QDataStream& operator<<(quint64)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:166:35: error: 'QDataStream& operator<<(bool)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:167:36: error: 'QDataStream& operator<<(float)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:168:37: error: 'QDataStream& operator<<(double)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:169:44: error: 'QDataStream& operator<<(const char*)' must have an argument of class or enumerated type\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:188:1: error: expected unqualified-id before 'private'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:189:5: error: 'QDataStream& operator=(const QDataStream&)' must be a nonstatic member function\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:199:1: error: expected declaration before '\}' token\
In file included from /srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qiodevice.h:49:0,\
                 from ../../../include/QtCore/../../src/corelib/io/qfiledevice.h:37,\
                 from ../../../include/QtCore/qfiledevice.h:1,\
                 from ../../../include/QtCore/../../src/corelib/io/qfile.h:37,\
                 from ../../../include/QtCore/qfile.h:1,\
                 from ../../corelib/codecs/qtextcodec.cpp:41:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h: In instantiation of 'static void QScopedPointerDeleter<T>::cleanup(T*) [with T = QDataStreamPrivate]':\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h:100:9:   required from 'QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QDataStreamPrivate; Cleanup = QScopedPointerDeleter<QDataStreamPrivate>]'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:191:40:   required from here\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h:59:22: error: invalid application of 'sizeof' to incomplete type 'QDataStreamPrivate'\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h:62:9: warning: possible problem detected in invocation of delete operator: [enabled by default]\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h:54:24: warning: 'pointer' has incomplete type [enabled by default]\
In file included from ../../../include/QtCore/../../src/corelib/tools/qstringlist.h:38:0,\
                 from ../../../include/QtCore/qstringlist.h:1,\
                 from ../../corelib/codecs/qtextcodec.cpp:42:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qdatastream.h:70:7: warning: forward declaration of 'class QDataStreamPrivate' [enabled by default]\
In file included from /srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qiodevice.h:49:0,\
                 from ../../../include/QtCore/../../src/corelib/io/qfiledevice.h:37,\
                 from ../../../include/QtCore/qfiledevice.h:1,\
                 from ../../../include/QtCore/../../src/corelib/io/qfile.h:37,\
                 from ../../../include/QtCore/qfile.h:1,\
                 from ../../corelib/codecs/qtextcodec.cpp:41:\
/srv/buildbot/pilsner/staging_dir/target-i386_eglibc-2.11/usr/include/QtCore/qscopedpointer.h:62:9: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined\
make[6]: *** [.obj/qtextcodec.o] Error 1\
make[6]: Leaving directory `/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0/qtbase/src/tools/bootstrap'\
make[5]: *** [sub-bootstrap-make_first] Error 2\
make[5]: Leaving directory `/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0/qtbase/src'\
make[4]: *** [sub-src-make_first] Error 2\
make[4]: Leaving directory `/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0/qtbase'\
make[3]: *** [module-qtbase-make_first] Error 2\
make[3]: Leaving directory `/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0'\
make[2]: *** [/srv/buildbot/pilsner/build_dir/target-i386_eglibc-2.11/qt-everywhere-opensource-src-5.4.0/.built] Error 2\
make[2]: Leaving directory `/srv/buildbot/pilsner/package/qt5'\
make[1]: *** [package/qt5/compile] Error 2\
make[1]: Leaving directory `/srv/buildbot/pilsner'\
make: *** [package/qt5/compile] Error 2\
-------------- next part --------------
                TARGET_CC="$(TARGET_CROSS)gcc" \\\
                TARGET_CXX="$(TARGET_CROSS)g++" \\\
                TARGET_AR="$(TARGET_CROSS)ar cqs" \\\
                TARGET_OBJCOPY="$(TARGET_CROSS)objcopy" \\\
                TARGET_RANLIB="$(TARGET_CROSS)ranlib" \\\
                TARGET_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \\\
                TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \\\
                TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) -lpthread -lrt" \\\
                TARGET_INCDIRS="$(TARGET_INCDIRS)" \\\
                TARGET_LIBDIRS="$(TARGET_LIBDIRS) $(STAGING_DIR)/usr/lib/" \\\
                CFLAGS= \\\
                CXXFLAGS= \\\
                LDFLAGS= \\\
                ./configure -v \\\
                        -prefix $(CONFIGURE_PREFIX) \\\
                        -bindir $(CONFIGURE_PREFIX)/bin \\\
                        -libdir $(CONFIGURE_PREFIX)/lib \\\
                        -datadir $(CONFIGURE_PREFIX)/share/Qt \\\
                        -plugindir $(CONFIGURE_PREFIX)/lib/Qt/plugins \\\
                        -xplatform linux-openwrt-g++ \\\
                        -I"$(STAGING_DIR)/usr/include/" \\\
                        -I"$(STAGING_DIR)/usr/include/X11" \\\
                        -L"$(STAGING_DIR)/usr/lib/" \\\
                        -qt-harfbuzz \\\
                        -alsa \\\
                        -no-avx2 \\\
                        -opensource \\\
                        -confirm-license \\\
                        -no-sql-db2 \\\
                        -no-sql-ibase \\\
                        -no-sql-mysql \\\
                        -no-sql-oci \\\
                        -no-sql-odbc \\\
                        -no-sql-psql \\\
                        -no-sql-sqlite \\\
                        -no-sql-sqlite2 \\\
                        -no-sql-tds \\\
                        -no-gif \\\
                        -system-libpng \\\
                        -system-libjpeg \\\
                        -system-zlib \\\
                        -qt-pcre \\\
                        -no-strip \\\
                        -openssl \\\
                        -optimized-qmake \\\
                        -release \\\
                        -no-pulseaudio \\\
                        -no-gtkstyle \\\
                        -no-separate-debug-info \\\
                        -no-accessibility \\\
                        -no-nis \\\
                        -no-cups \\\
                        -no-dbus \\\
                        -no-qml-debug \\\
                        -nomake examples \\\
                        -nomake tests \\\
                        -nomake tools \\\
                        -skip qtlocation \\\
                        -skip qtenginio \\\
                        -skip qtsensors \\\
                        -skip qtconnectivity \\\
                        -skip qttools \\\
                        -skip qtxmlpatterns \\\
                        -skip qtsvg \\\
                        -skip qtmultimedia \\\
                        -skip activeqt \\\
                        -skip qtwebsockets \\\
                        -skip qtwebkit \\\
                        -skip qtwebkit-examples \\\
                        -skip qtgraphicaleffects \\\
                        -skip qtdoc \\\
                        -no-pch \\\
                        -no-use-gold-linker \\\
                        -verbose \\\
                        -qt-freetype \\\
                        -no-glib \\\
                        -no-icu \\\
                        -no-opengl \\\
                        -no-xcb \\\
                        -no-libudev \\\
                        -no-rpath \\\
                        -no-compile-examples \\\


More information about the Development mailing list