Problem with make when compiling qt-everywhere-opensource-src-5.0.2
-
I'm trying to compile qt-everywhere-opensource-src-5.0.2 on openwrt
i'm working on ubuntu
i got this when i run makecd qtbase/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/qtbase.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase' cd src/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/src.pro -o Makefile ) && make -f Makefile make[2]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src'
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile src.pro
make[2]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src' make[2]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src'
cd tools/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/tools.pro -o Makefile ) && make -f Makefile
make[3]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools' /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile tools.pro make[3]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools'
make[3]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools' cd bootstrap/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/bootstrap'
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile bootstrap.pro
Project MESSAGE: /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/syncqt -minimal -module QtCore -module QtDBus -module QtXml -version 5.0.2 -outdir /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase
<srcbase> = /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase
<outbase> = /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase
make[4]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/bootstrap' make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/bootstrap'
make[4]: Nothing to be done forfirst'. make[4]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/bootstrap'
cd moc/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/moc/moc.pro -o Makefile ) && make -f Makefile
make[4]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/moc' /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile moc.pro make[4]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/moc'
make[4]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/moc' make[4]: Nothing to be done for
first'.
make[4]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/moc' cd rcc/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/rcc/rcc.pro -o Makefile ) && make -f Makefile make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/rcc'
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile rcc.pro
make[4]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/rcc' make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/rcc'
make[4]: Nothing to be done forfirst'. make[4]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/rcc'
cd qdoc/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdoc/qdoc.pro -o Makefile ) && make -f Makefile
make[4]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdoc' /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile qdoc.pro make[4]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdoc'
make[4]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdoc' make[4]: Nothing to be done for
first'.
make[4]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdoc' cd qdbusxml2cpp/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro -o Makefile ) && make -f Makefile make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbusxml2cpp'
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile qdbusxml2cpp.pro
make[4]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbusxml2cpp' make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbusxml2cpp'
make[4]: Nothing to be done forfirst'. make[4]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbusxml2cpp'
cd qdbuscpp2xml/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro -o Makefile ) && make -f Makefile
make[4]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbuscpp2xml' /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile qdbuscpp2xml.pro make[4]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbuscpp2xml'
make[4]: Entering directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbuscpp2xml' make[4]: Nothing to be done for
first'.
make[4]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/qdbuscpp2xml' cd uic/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/uic/uic.pro -o Makefile ) && make -f Makefile make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/uic'
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile uic.pro
make[4]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/uic' make[4]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/uic'
make[4]: Nothing to be done forfirst'. make[4]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools/uic'
make[3]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/tools' cd corelib/ && ( test -e Makefile || /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib/corelib.pro -o Makefile ) && make -f Makefile make[3]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib'
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile corelib.pro
Project MESSAGE: /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/bin/syncqt -module QtCore -version 5.0.2 -outdir /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase
<srcbase> = /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase
<outbase> = /home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase
make[3]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib' make[3]: Entering directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib'
g++ -c -include .pch/release-shared/Qt5Core -m64 -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DELF_INTERPRETER="/lib64/ld-linux-x86-64.so.2" -DQT_USE_ICU -DPCRE_HAVE_CONFIG_H -DHB_EXPORT=Q_CORE_EXPORT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/linux-g++-64 -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.0.2 -I../../include/QtCore/5.0.2/QtCore -Iglobal -I../3rdparty/pcre -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -o .obj/release-shared/qtimerinfo_unix.o kernel/qtimerinfo_unix.cpp
kernel/qtimerinfo_unix.cpp:98:30: error: redeclaration ‘constexpr T qAbs(const T&) [with T = timeval]’ differs in ‘constexpr’
timeval qAbs(const timeval &t)
^
In file included from ../../include/QtCore/qglobal.h:1:0,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/global/qglobal.h:483:27: error: from previous declaration ‘constexpr T qAbs(const T&) [with T = timeval]’
Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
^
kernel/qtimerinfo_unix.cpp: In function ‘constexpr T qAbs(const T&) [with T = timeval]’:
kernel/qtimerinfo_unix.cpp:109:1: error: body of constexpr function ‘constexpr T qAbs(const T&) [with T = timeval]’ not a return-statement
}
^
In file included from ../../include/QtCore/qglobal.h:1:0,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/global/qglobal.h: In instantiation of ‘constexpr T qAbs(const T&) [with T = timeval]’:
kernel/qtimerinfo_unix.cpp:147:44: required from here
../../include/QtCore/../../src/corelib/global/qglobal.h:483:55: error: no match for ‘operator>=’ (operand types are ‘const timeval’ and ‘int’)
Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
^
../../include/QtCore/../../src/corelib/global/qglobal.h:483:55: note: candidates are:
In file included from ../../include/QtCore/qpair.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qmap.h:48,
from ../../include/QtCore/qmap.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qvariant.h:49,
from ../../include/QtCore/qvariant.h:1,
from global/qt_pch.h:66:
../../include/QtCore/../../src/corelib/tools/qpair.h:98:24: note: template<class T1, class T2> bool operator>=(const QPair<T, U>&, const QPair<T, U>&)
Q_INLINE_TEMPLATE bool operator>=(const QPair<T1, T2> &p1, const QPair<T1, T2> &p2)
^
../../include/QtCore/../../src/corelib/tools/qpair.h:98:24: note: template argument deduction/substitution failed:
In file included from ../../include/QtCore/qglobal.h:1:0,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/global/qglobal.h:483:55: note: ‘const timeval’ is not derived from ‘const QPair<T, U>’
Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
^
In file included from ../../include/QtCore/qstring.h:1:0,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:64:
../../include/QtCore/../../src/corelib/tools/qstring.h:1309:13: note: bool operator>=(const QStringRef&, const QStringRef&)
inline bool operator>=(const QStringRef &s1, const QStringRef &s2)
^
../../include/QtCore/../../src/corelib/tools/qstring.h:1309:13: note: no known conversion for argument 1 from ‘const timeval’ to ‘const QStringRef&’
../../include/QtCore/../../src/corelib/tools/qstring.h:1038:32: note: bool operator>=(const char*, QLatin1String)
inline QT_ASCII_CAST_WARN bool operator>=(const char s1, QLatin1String s2)
^
../../include/QtCore/../../src/corelib/tools/qstring.h:1038:32: note: no known conversion for argument 1 from ‘const timeval’ to ‘const char’
../../include/QtCore/../../src/corelib/tools/qstring.h:984:13: note: bool operator>=(QLatin1String, QLatin1String)
inline bool operator>=(QLatin1String s1, QLatin1String s2)
^
../../include/QtCore/../../src/corelib/tools/qstring.h:984:13: note: no known conversion for argument 1 from ‘const timeval’ to ‘QLatin1String’
../../include/QtCore/../../src/corelib/tools/qstring.h:1336:32: note: bool operator>=(const char*, const QStringRef&)
inline QT_ASCII_CAST_WARN bool operator>=(const char s1, const QStringRef &s2)
^
../../include/QtCore/../../src/corelib/tools/qstring.h:1336:32: note: no known conversion for argument 1 from ‘const timeval’ to ‘const char’
../../include/QtCore/../../src/corelib/tools/qstring.h:1025:32: note: bool operator>=(const char*, const QString&)
inline QT_ASCII_CAST_WARN bool operator>=(const char s1, const QString &s2)
^
../../include/QtCore/../../src/corelib/tools/qstring.h:1025:32: note: no known conversion for argument 1 from ‘const timeval’ to ‘const char’
In file included from ../../include/QtCore/qbytearray.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qstring.h:46,
from ../../include/QtCore/qstring.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:64:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:560:13: note: bool operator>=(const char*, const QByteArray&)
inline bool operator>=(const char a1, const QByteArray &a2)
^
../../include/QtCore/../../src/corelib/tools/qbytearray.h:560:13: note: no known conversion for argument 1 from ‘const timeval’ to ‘const char’
../../include/QtCore/../../src/corelib/tools/qbytearray.h:558:13: note: bool operator>=(const QByteArray&, const char*)
inline bool operator>=(const QByteArray &a1, const char a2)
^
../../include/QtCore/../../src/corelib/tools/qbytearray.h:558:13: note: no known conversion for argument 1 from ‘const timeval’ to ‘const QByteArray&’
../../include/QtCore/../../src/corelib/tools/qbytearray.h:556:13: note: bool operator>=(const QByteArray&, const QByteArray&)
inline bool operator>=(const QByteArray &a1, const QByteArray &a2)
^
../../include/QtCore/../../src/corelib/tools/qbytearray.h:556:13: note: no known conversion for argument 1 from ‘const timeval’ to ‘const QByteArray&’
In file included from ../../include/QtCore/qchar.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qstring.h:45,
from ../../include/QtCore/qstring.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:64:
../../include/QtCore/../../src/corelib/tools/qchar.h:390:13: note: bool operator>=(QChar, QChar)
inline bool operator>=(QChar c1, QChar c2) { return c1.unicode() >= c2.unicode(); }
^
../../include/QtCore/../../src/corelib/tools/qchar.h:390:13: note: no known conversion for argument 1 from ‘const timeval’ to ‘QChar’
In file included from ../../include/QtCore/qglobal.h:1:0,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/global/qglobal.h:483:66: error: no match for ‘operator-’ (operand type is ‘const timeval’)
Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
^
../../include/QtCore/../../src/corelib/global/qglobal.h:483:66: note: candidates are:
In file included from ../../include/QtCore/5.0.2/QtCore/private/qcore_unix_p.h:1:0,
from kernel/qtimerinfo_unix.cpp:45:
../../include/QtCore/5.0.2/QtCore/private/../../../../../src/corelib/kernel/qcore_unix_p.h:133:16: note: timeval operator-(const timeval&, const timeval&)
inline timeval operator-(const timeval &t1, const timeval &t2)
^
../../include/QtCore/5.0.2/QtCore/private/../../../../../src/corelib/kernel/qcore_unix_p.h:133:16: note: candidate expects 2 arguments, 1 provided
In file included from ../../include/QtCore/qsharedpointer_impl.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qsharedpointer.h:50,
from ../../include/QtCore/qsharedpointer.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qpointer.h:45,
from ../../include/QtCore/qpointer.h:1,
from ../../include/QtCore/5.0.2/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:57,
from ../../include/QtCore/5.0.2/QtCore/private/qobject_p.h:1,
from kernel/qtimerinfo_unix.cpp:47:
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:697:63: note: template<class T, class X> typename QSharedPointer<T>::difference_type operator-(const QSharedPointer<T>&, const QSharedPointer<T>&)
Q_INLINE_TEMPLATE typename QSharedPointer<T>::difference_type operator-(const QSharedPointer<T> &ptr1, const QSharedPointer<X> &ptr2)
^
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:697:63: note: template argument deduction/substitution failed:
In file included from ../../include/QtCore/qglobal.h:1:0,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/global/qglobal.h:483:66: note: ‘const timeval’ is not derived from ‘const QSharedPointer<T>’
Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
^
In file included from ../../include/QtCore/qsharedpointer_impl.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qsharedpointer.h:50,
from ../../include/QtCore/qsharedpointer.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qpointer.h:45,
from ../../include/QtCore/qpointer.h:1,
from ../../include/QtCore/5.0.2/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:57,
from ../../include/QtCore/5.0.2/QtCore/private/qobject_p.h:1,
from kernel/qtimerinfo_unix.cpp:47:
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:702:63: note: template<class T, class X> typename QSharedPointer<T>::difference_type operator-(const QSharedPointer<T>&, X)
Q_INLINE_TEMPLATE typename QSharedPointer<T>::difference_type operator-(const QSharedPointer<T> &ptr1, X ptr2)
^
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:702:63: note: template argument deduction/substitution failed:
In file included from ../../include/QtCore/qglobal.h:1:0,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/global/qglobal.h:483:66: note: ‘const timeval’ is not derived from ‘const QSharedPointer<T>’
Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
^
In file included from ../../include/QtCore/qsharedpointer_impl.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qsharedpointer.h:50,
from ../../include/QtCore/qsharedpointer.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qpointer.h:45,
from ../../include/QtCore/qpointer.h:1,
from ../../include/QtCore/5.0.2/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:57,
from ../../include/QtCore/5.0.2/QtCore/private/qobject_p.h:1,
from kernel/qtimerinfo_unix.cpp:47:
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:707:63: note: template<class T, class X> typename QSharedPointer<T>::difference_type operator-(T, const QSharedPointer<T>&)
Q_INLINE_TEMPLATE typename QSharedPointer<X>::difference_type operator-(T ptr1, const QSharedPointer<X> &ptr2)
^
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:707:63: note: template argument deduction/substitution failed:
In file included from ../../include/QtCore/qglobal.h:1:0,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/global/qglobal.h:483:66: note: mismatched types ‘T’ and ‘timeval’
Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
^
../../include/QtCore/../../src/corelib/global/qglobal.h:483: confused by earlier errors, bailing out
make[3]: *** [.obj/release-shared/qtimerinfo_unix.o] Error 1
make[3]: Leaving directory/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib' make[2]: *** [sub-corelib-make_first] Error 2 make[2]: Leaving directory
/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/ubuntu/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/qt-everywhere-opensource-src-5.0.2/qtbase'
make: *** [module-qtbase-make_first] Error 2how to fix this ?