錯誤訊息...
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}:1700: Error: bad instruction `fnstcw [sp,#160]'
{standard input}:1710: Error: bad instruction `fldcw [sp,#162]'
{standard input}:1711: Error: bad instruction `fldcw [sp,#160]'
{standard input}:1768: Error: bad instruction `fnstcw [sp,#162]'
{standard input}:1777: Error: bad instruction `fldcw [sp,#160]'
{standard input}:1778: Error: bad instruction `fldcw [sp,#162]'
make: *** [spudec.o] Error 1
我下的command...
./configure --host-cc=gcc --cc=arm-unknown-linux-gnu-gcc --target=arm-armv4I-linux --enable-static --prefix=/tmp/mplayer --disable-win32 --disable-dvdread --enable-fbdev --disable-mencoder --disable-live --disable-mp3lib --language=en 2>&1 | tee logfile
相關資訊...
1. cross compiler: arm-linux-toolchain-bin-4.0.2
2. linux: Fedora core 6
3. Kernel version: 2.6.18-1.2798.fc6
4. gcc version: 4.1.1
雖然有參考網路上其他人的作法,但仍然出現這些問題,想了半天了,還是沒有結果。
此外,還有以下問題
Checking for cross compilation ... ./configure: line 811: /tmp/mplayer-conf-20872-4953.o: cannot execute binary file... yes
即使我用root身份,使用command line下指令,仍無法解決。
不清楚這個問題的原因,可否麻煩各位提示解決辦法,謝謝。