View Full Version : problems with compiling in qt4.6

14th December 2009, 13:09

I installed qt4.6 and made a crosscompiler.

Now i'm trying to build a project and there are errors.
Here is the compile output:

Running build steps for project mainwindows...
Configuration unchanged, skipping QMake step.{standard input}:54: Error: bad instruction `setne [fp,#-13]'
Starting: /usr/bin/make debug -w
make: Entering directory `/home/gt/qtsdk-2009.05/qt/examples/mainwindows'
cd application/ && /usr/bin/make debug
make[1]: Entering directory `/home/gt/qtsdk-2009.05/qt/examples/mainwindows/application'
/usr/bin/make -f Makefile.Debug
make[2]: Entering directory `/home/gt/qtsdk-2009.05/qt/examples/mainwindows/application'
sb2 g++ -c -pipe -g -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include -I.moc/debug-shared -o .obj/debug-shared/main.o main.cpp
{standard input}: Assembler messages:
{standard input}:52: Error: bad instruction `lock'
{standard input}:53: Error: bad instruction `decl [r2,#0]'
{standard input}:54: Error: bad instruction `setne [fp,#-13]'
make[2]: Leaving directory `/home/gt/qtsdk-2009.05/qt/examples/mainwindows/application'
make[1]: Leaving directory `/home/gt/qtsdk-2009.05/qt/examples/mainwindows/application'
make[2]: *** [.obj/debug-shared/main.o] Error 1
make[1]: *** [debug] Error 2
make: Leaving directory `/home/gt/qtsdk-2009.05/qt/examples/mainwindows'
make: *** [sub-application-sub_Debug] Error 2
Exited with code 2.
Error while building project mainwindows
When executing build step 'Make'

thank you