[MPlayer-users] (Bad instruction error) MPlayer compilation error

CK Sim cksim at singnet.com.sg
Sun Sep 30 20:55:18 CEST 2007


Hi,

 

Sorry, forgot the version number.

 

I am using MPlayer 1.0 rc1 and cross compiling for ARM CPU.

 

Appreciate any solution/advice to the problem.

 

Thanks in advance.

 

Sim CK

 

  _____  

From: CK Sim [mailto:cksim at singnet.com.sg] 
Sent: Sunday, September 30, 2007 8:37 PM
To: 'mplayer-users at mplayerhq.hu'
Subject: (Bad instruction error) MPlayer compilation error
Importance: High

 

Hi,

 

I have encountered the following error when compiling MPlayer.

 

An extract of the compilation:

 

arm-linux-gcc -c -Wdeclaration-after-statement -O4   -pipe -ffast-math
-fomit-frame-pointer -I/usr/include  -I.  -I./libavutil -I./libavcodec -o
spudec.o spudec.c

spudec.c: In function 'spudec_draw_scaled':

/usr/include/bits/mathinline.h:530: error: impossible constraint in 'asm'

/usr/include/bits/mathinline.h:530: error: impossible constraint in 'asm'

{standard input}: Assembler messages:

{standard input}:1734: Error: bad instruction `fnstcw [sp,#170]'

{standard input}:1743: Error: bad instruction `fldcw [sp,#168]'

{standard input}:1744: Error: bad instruction `fldcw [sp,#170]'

{standard input}:1801: Error: bad instruction `fnstcw [sp,#168]'

{standard input}:1811: Error: bad instruction `fldcw [sp,#170]'

{standard input}:1812: Error: bad instruction `fldcw [sp,#168]'

make: *** [spudec.o] Error 1

 

 

I am using arm-linux-gcc (4.1.2 uClibc) and running Debian (Etch) on a
Centrino Laptop.

 

Appreciate any solution to the above.

 

Thanks in advance.

 

Sim CK




More information about the MPlayer-users mailing list