PDA

View Full Version : Error



hgedek
8th October 2007, 08:53
warning: `visibility' attribute does not apply to types

/usr/local/Qt4/include/QtCore/qatomic_i386.h:82: error: impossible constraint in `asm'

Iam getting the first as warning.And the second is the error.I did not understand anything what is this error?

marcel
8th October 2007, 09:02
What exactly are you trying to do?
Compile Qt, or what?

hgedek
8th October 2007, 09:20
I am coding using Qt 4.3.0 in kdevelop 3.4.9.While compiling my code in Release Mode I got the error above.

In Debug mode :
{standard input}: Assembler messages:
{standard input}:1790: Error: bad instruction `lock'
{standard input}:1791: Error: bad instruction `incl [r2,#0]'
{standard input}:1792: Error: bad instruction `setne [fp,#-17]'
manuelview.cpp:106:3: warning: no newline at end of file
{standard input}:2443: Error: bad instruction `lock'
{standard input}:2444: Error: bad instruction `decl [r2,#0]'
{standard input}:2445: Error: bad instruction `setne [fp,#-17]'

jpn
8th October 2007, 09:32
How did you install Qt? What's the environment? Are you doing something special we should be aware of? Can you compile hello world (http://doc.trolltech.com/4.3/tutorial-t1.html) at command line?

hgedek
8th October 2007, 09:39
I installed Qtopia -embedded arm.
Iam using arm-linux-g++.

hgedek
8th October 2007, 10:13
Ok.I understood.As you said I compiled a hello program.And I got error when used "make".
I didnot understand that: I was using these tools for weeks.After these changes:
-I installed suse again..And carried the old arm,qt4.. folders to same places.But I got many errors? Why? I carried suse 10.2 to same?