Compilation Error: QT 4.7.1 for DM6446

Chetan Patil
TRYING TO COMPILE QT 4.7.1 ON FEDORA 12 FOR DM6446 ::

Followed these steps:

1) My qmake.config for linux-dm6446-g++ as below:

#
# qmake configuration for building with arm-linux-g++
#

include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

# modifications to g++.conf
QMAKE_CC                =
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
QMAKE_CXX               =
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-g++
QMAKE_LINK              =
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-g++
QMAKE_LINK_SHLIB        =
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-g++

# modifications to linux.conf
QMAKE_AR                =
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ar cqs
QMAKE_OBJCOPY           =
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-objcopy
QMAKE_STRIP             =
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-strip

load(qt_config)


2) My ./configure is as follows:

./configure -prefix
/home/chetanpatil/qt/qt-everywhere-opensource-src-4.7.1/demo -embedded arm
-platform /qws/linux-x86-g++ -xplatform /qws/linux-dm6446-g++ -depths
16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile
-no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp
-qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast

Configuration happens successfully after that I'm doing gmake
gmake terminates after sometime & I get following errors:

{standard input}: Assembler messages:
{standard input}:707: Error: register or shift expression expected -- `orr
r3,r2,lsl#16'
{standard input}:718: Error: register or shift expression expected -- `orr
r2,r3,lsl#16'
{standard input}:7257: Error: register or shift expression expected -- `orr
r1,r2,lsl#16'
{standard input}:7268: Error: register or shift expression expected -- `orr
r2,r0,lsl#16'
gmake[1]: *** [.obj/release-shared-emb-arm/qfontengine_ft.o] Error 1
gmake[1]: Leaving directory
`/home/chetanpatil/qt/qt-everywhere-opensource-src-4.7.1/src/gui'
gmake: *** [sub-gui-make_default-ordered] Error 2
[chetanpatil@chetanpatil qt-everywhere-opensource-src-4.7.1]$


Has anyone faced similar issues. Kindly help me out to resolve the above
problem.

Thanks in advance.

Julien
Same here!!

{standard input}: Assembler messages:
{standard input}:707: Error: register or shift expression expected -- `orr
r3,r2,lsl#16'
{standard input}:718: Error: register or shift expression expected -- `orr
r2,r3,lsl#16'
{standard input}:7257: Error: register or shift expression expected -- `orr
r1,r2,lsl#16'
{standard input}:7268: Error: register or shift expression expected -- `orr
r2,r0,lsl#16'
make[1]: *** [.obj/release-shared-emb-arm/qfontengine_ft.o] Error 1

I think we need to disable(/enable?) something.

Julien
solved:
http://bugreports.qt.nokia.com/browse/QTBUG-6521