[Qt-creator] Strange error when using directly make

Jeffery MacEachern j.maceachern at gmail.com
Wed Aug 25 22:48:42 CEST 2010


It's calling your system g++, which is not for ARM, of course - hence
the assembly errors.  Use the "mad" program in the SDK directory
($sdkroot/Maemo/4.6.2/bin/mad) with any of the programs in madbin
So,
mad qmake
mad make
etc.
 - Jeffery MacEachern



2010/8/25 "Antonio Cano Gómez" <antonio.cano.gomez at ovi.com>:
> Hi,
>
> After trying to compile a proyect for maemo, I tried to do it using the commands directly in the linux x-term.
>
> after excuting qmake I go to the build directory and execute make obtaining the next result:
>
> toni:/media/disk/uni/qt/proyectos/soccer/20100717/soccer2010-build-maemo # make -w
> make: Entering directory `/media/disk/uni/qt/proyectos/soccer/20100717/soccer2010-build-maemo'
> g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/linux-g++-maemo5 -I../soccer2010 -I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtCore -I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui -I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtSql -I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -I/usr/include -I. -I. -I../soccer2010 -I. -o main.o ../soccer2010/main.cpp
> {standard input}: Assembler messages:
> {standard input}:131: Error: no such instruction: `ldrex %edx,[%rax]'
> {standard input}:132: Error: expecting operand after ','; got nothing
> {standard input}:133: Error: no such instruction: `strex %ecx,%edx,[%rax]'
> {standard input}:134: Error: no such instruction: `teq %ecx,'
> {standard input}:135: Error: no such instruction: `bne 0b'
> {standard input}:144: Error: no such instruction: `ldrex %edx,[%rax]'
>
> Some idea about whay is happening?
>
> Thanks!
>
> --------------------------------------------------------------
> Ovi Mail: Making email access easy
> http://mail.ovi.com
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>




More information about the Qt-creator-old mailing list