Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.1.0 Beta 1
-
None
-
Host: Raspberry PI (Model B) mem: 512 MB
Swap: local USB disc (3 GB)
Kernel: Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux
Operating system updated to current date.
Installed packages: attached file: sel
Configuration run output: attached filre: rep
Compilation target directory: remote server attached over NFS
Repository used: git://gitorious.org/qt/qt5.git
Configuration parameters:
==========================
#!/bin/bash
export PKG_CONFIG_PATH=/disks/PROJECT/qt510/usr/lib/arm-linux-gnueabihf/pkgconfig
export PKG_CONFIG_LIBDIR=/disks/PROJECT/qt510
git clone git://gitorious.org/qt/qt5.git
cd qt5
./init-repository
cd qtbase
./configure -prefix /disks/PROJECT/qt510 -release -device linux-rasp-pi-g++ \
-make libs -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- \
-device-option DISTRO=wheezy -sysroot /disks/PROJECT/qt510/ -opensource \
-confirm-license -no-pch -nomake examples -nomake tests -qt-xcb -system-zlib.
Host: Raspberry PI (Model B) mem: 512 MB Swap: local USB disc (3 GB) Kernel: Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux Operating system updated to current date. Installed packages: attached file: sel Configuration run output: attached filre: rep Compilation target directory: remote server attached over NFS Repository used: git://gitorious.org/qt/qt5.git Configuration parameters: ========================== #!/bin/bash export PKG_CONFIG_PATH=/disks/PROJECT/qt510/usr/lib/arm-linux-gnueabihf/pkgconfig export PKG_CONFIG_LIBDIR=/disks/PROJECT/qt510 git clone git://gitorious.org/qt/qt5.git cd qt5 ./init-repository cd qtbase ./configure -prefix /disks/PROJECT/qt510 -release -device linux-rasp-pi-g++ \ -make libs -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- \ -device-option DISTRO=wheezy -sysroot /disks/PROJECT/qt510/ -opensource \ -confirm-license -no-pch -nomake examples -nomake tests -qt-xcb -system-zlib.
Description
Qt 5.1.0 compilation issue.
/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/disks/PROJECT/qt510/ -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c+0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DXCB_USE_XLIB -DXCB_USE_EGL -DSUPPORT_X11 -DXCB_USE_IBUS -DXCB_USE_RENDER -DDFLT_XKB_CONFIG_ROOT=\"/usr/share/X11/xkb\" -DDEFAULT_XKB_RULES=\"evdev\" -DDEFAULT_XKB_MODEL=\"pc105\" -DDEFAULT_XKB_LAYOUT=\"us\" -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/devices/linux-rasp-pi-g+ -I. -I../../../3rdparty/xcb/include -I../../../3rdparty/xcb/sysinclude -I../../../3rdparty/xkbcommon -I../../../3rdparty/xkbcommon/src -I../../../3rdparty/xkbcommon/src/xkbcomp -I../../../../include -I../../../../include/QtPlatformSupport -I../../../../include/QtPlatformSupport/5.1.0 -I../../../../include/QtPlatformSupport/5.1.0/QtPlatformSupport -I../../../../include/QtDBus -I../../../../include/QtGui -I../../../../include/QtGui/5.1.0 -I../../../../include/QtGui/5.1.0/QtGui -I../../../../include/QtCore -I../../../../include/QtCore/5.1.0 -I../../../../include/QtCore/5.1.0/QtCore -I.moc/release-shared -I/disks/PROJECT/qt510/opt/vc/include -I/disks/PROJECT/qt510/opt/vc/include/interface/vcos/pthreads -I/disks/PROJECT/qt510/opt/vc/include/interface/vmcs_host/linux -o .obj/release-shared/main.o main.cpp
/usr/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/disks/PROJECT/qt510/ -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c+0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DXCB_USE_XLIB -DXCB_USE_EGL -DSUPPORT_X11 -DXCB_USE_IBUS -DXCB_USE_RENDER -DDFLT_XKB_CONFIG_ROOT=\"/usr/share/X11/xkb\" -DDEFAULT_XKB_RULES=\"evdev\" -DDEFAULT_XKB_MODEL=\"pc105\" -DDEFAULT_XKB_LAYOUT=\"us\" -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/devices/linux-rasp-pi-g+ -I. -I../../../3rdparty/xcb/include -I../../../3rdparty/xcb/sysinclude -I../../../3rdparty/xkbcommon -I../../../3rdparty/xkbcommon/src -I../../../3rdparty/xkbcommon/src/xkbcomp -I../../../../include -I../../../../include/QtPlatformSupport -I../../../../include/QtPlatformSupport/5.1.0 -I../../../../include/QtPlatformSupport/5.1.0/QtPlatformSupport -I../../../../include/QtDBus -I../../../../include/QtGui -I../../../../include/QtGui/5.1.0 -I../../../../include/QtGui/5.1.0/QtGui -I../../../../include/QtCore -I../../../../include/QtCore/5.1.0 -I../../../../include/QtCore/5.1.0/QtCore -I.moc/release-shared -I/disks/PROJECT/qt510/opt/vc/include -I/disks/PROJECT/qt510/opt/vc/include/interface/vcos/pthreads -I/disks/PROJECT/qt510/opt/vc/include/interface/vmcs_host/linux -o .obj/release-shared/qxcbnativeinterface.o qxcbnativeinterface.cpp
In file included from qxcbconnection.h:60:0,
from qxcbobject.h:45,
from qxcbscreen.h:51,
from qxcbnativeinterface.cpp:44:
../../../3rdparty/xcb/include/xcb/xkb.h:118:5: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
qxcbnativeinterface.cpp: In member function ‘void QXcbNativeInterface::beep()’:
qxcbnativeinterface.cpp:97:5: error: ‘::Display’ has not been declared
qxcbnativeinterface.cpp:97:16: error: ‘display’ was not declared in this scope
qxcbnativeinterface.cpp:97:27: error: ‘::Display’ has not been declared
qxcbnativeinterface.cpp:97:38: error: expected primary-expression before ‘)’ token
qxcbnativeinterface.cpp:97:39: error: expected ‘;’ before ‘nativeResourceForScreen’
qxcbnativeinterface.cpp:316:1: error: expected ‘}’ at end of input
qxcbnativeinterface.cpp: At global scope:
qxcbnativeinterface.cpp:86:1: warning: ‘qXcbResourceMap’ defined but not used [-Wunused-variable]
make[5]: *** [.obj/release-shared/qxcbnativeinterface.o] Error 1
make[5]: Leaving directory `/disks/PROJECT/qt510/qt5/qtbase/src/plugins/platforms/xcb'
make[4]: *** [sub-xcb-plugin-pro-make_first-ordered] Error 2
make[4]: Leaving directory `/disks/PROJECT/qt510/qt5/qtbase/src/plugins/platforms/xcb'
make[3]: *** [sub-xcb-make_first] Error 2
make[3]: Leaving directory `/disks/PROJECT/qt510/qt5/qtbase/src/plugins/platforms'
make[2]: *** [sub-platforms-make_first] Error 2
make[2]: Leaving directory `/disks/PROJECT/qt510/qt5/qtbase/src/plugins'
make[1]: *** [sub-plugins-make_first] Error 2
make[1]: Leaving directory `/disks/PROJECT/qt510/qt5/qtbase/src'
make: *** [sub-src-make_first] Error 2