On Mon, 9 Feb 2015, Thiago Macieira wrote:

On Monday 09 February 2015 22:17:26 Thiago Macieira wrote:
On Monday 09 February 2015 22:07:19 Simon Matthews wrote:
> In file included from /usr/include/asm-x86_64/byteorder.h:30:0,
> > from /usr/include/asm/byteorder.h:5,
>                   from 3rdparty/linux_perf_event_p.h:19,
> > from qbenchmarkperfevents.cpp:53:
> /usr/include/linux/byteorder/little_endian.h:43:19: error: ‘__le64’ does

This is not a Qt error. Your kernel headers are bad and you should fix them.

CentOS 5 has kernel 2.6.18. According to the kernel sources for that tag, __le64 is defined as a typedef in linux/types.h, which is #included by linux_perf_event_p.h.

So I don't think this is a kernel issue either. CentOS may have screwed up the kernel headers. Please report to them.

I took another shot at this, using gcc 4.4.7. It errors out with:

make[3]: Entering directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/platformsupport' /usr/bin/g++44 -c -include .pch/Qt5PlatformSupport -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_XKB -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_PLATFORMSUPPORT_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 -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../mkspecs/linux-g++ -I. -isystem /usr/include/freetype2 -Iaccessibility -I../../include -I../../include/QtPlatformSupport -I../../include/QtPlatformSupport/5.4.0 -I../../include/QtPlatformSupport/5.4.0/QtPlatformSupport -I../../include/QtCore/5.4.0 -I../../include/QtCore/5.4.0/QtCore -I../../include/QtGui/5.4.0 -I../../include/QtGui/5.4.0/QtGui -I../../include/QtGui -I../../include/QtCore -I.moc -o .obj/qfontconfigdatabase.o fontdatabases/fontconfig/qfontconfigdatabase.cpp fontdatabases/fontconfig/qfontconfigdatabase.cpp: In function ‘int weightFromFcWeight(int)’: fontdatabases/fontconfig/qfontconfigdatabase.cpp:85: error: ‘FC_WEIGHT_ULTRABLACK’ was not declared in this scope
make[3]: *** [.obj/qfontconfigdatabase.o] Error 1
make[3]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/platformsupport'
make[2]: *** [sub-platformsupport-make_first] Error 2
make[2]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase'
make: *** [module-qtbase-make_first] Error 2

Simon
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to