Assembler Error in Compiling

Vishwanath
I get the following error while compiling,and im using
"arm-none-linux-gnueabi-g++ / gcc" for compilation :::

ERROR :::

{standard input}: Assembler messages:
{standard input}:195: Error: bad instruction `lock'
{standard input}:196: Error: bad instruction `incl [r3,#0]'
{standard input}:197: Error: bad instruction `setne [fp,#-5]'
{standard input}:234: Error: bad instruction `lock'
{standard input}:235: Error: bad instruction `decl [r3,#0]'
{standard input}:236: Error: bad instruction `setne [fp,#-5]'


What is the error about and whats the solution ? Please help me.