Qt-everywhere-4.7.4. compile issue with dbus
-
Hello,
I try to set up qt-everywhere 4.7.4 for a ARM architecture with configure:
./configure -embedded arm
-xplatform qws/linux-arm-gnueabi-g++
-v
-arch arm
-continue
-force-pkg-config
-I /home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/include
-little-endian
-L /home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/lib
-dbusN.B. after the configure step I have to correct mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf to enter the correct tools (cpp, g++, ...).
./configure concludes successfully. But at the make step I get an error:arm-cortexa8-linux-gnueabi-g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe -I/home/oschma/BSP/BSP-Phytec-phyCARD-L-
PD12.0.1/platform-phyCARD-L/sysroot-host/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -
fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -D
QT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER="/lib/ld-linux.so.2" -DHB_EXPORT=Q
_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-gnueabi-g++ -I. -I../../i
nclude -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdp
arty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qabstractanimation.o animation/qabst
ractanimation.cpp
animation/qabstractanimation_p.h: In constructor 'QUnifiedTimer::QUnifiedTimer()':
animation/qabstractanimation_p.h:178:10: warning: 'QUnifiedTimer::insideTick' will be initialized after
animation/qabstractanimation_p.h:177:9: warning: 'int QUnifiedTimer::currentAnimationIdx'
animation/qabstractanimation.cpp:168:1: warning: when initialized here
/home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/include/QtCore/qatomic_i386.h: In function 'Q
ThreadStorage<QUnifiedTimer*>* unifiedTimer()':
/home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/include/QtCore/qatomic_i386.h:176:29: error:
impossible constraint in 'asm'
make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 1
make[1]: Leaving directory `/usr/local/Trolltech/qt-everywhere-opensource-src-4.7.4/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
root@VirtualLinux:.../qt-everywhere-opensource-src-4.7.4# exitWhat confuses me is why qatomic_i386.h is used as it should be qatomic_arm.h.
Thanks in advance for your help
Henrik
-
Correct the mkspecs before you run configure, not afterwards.