Hi,
I encountered some trouble when I did the cross compile. While compiling MAD 0.14.2b with the following setting: export CC=arm-linux-gcc export LD=arm-linux-ld
./configure --host=arm-linux --enable-fpm=arm It works successfully.
Then I ran "make", but I got a long list of error message:
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -Wall -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -c synth.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -Wall -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -c synth.c -o synth.o synth.c: In function `dct32': synth.c:218: warning: asm operand 2 probably doesn't match constraints synth.c:218: warning: asm operand 3 probably doesn't match constraints synth.c:218: inconsistent operand constraints in an `asm' synth.c:219: inconsistent operand constraints in an `asm' synth.c: In function `synth_full': synth.c:611: warning: asm operand 2 probably doesn't match constraints synth.c:611: warning: asm operand 3 probably doesn't match constraints synth.c:611: inconsistent operand constraints in an `asm' synth.c:642: inconsistent operand constraints in an `asm' synth.c: In function `synth_half': synth.c:748: warning: asm operand 2 probably doesn't match constraints synth.c:748: warning: asm operand 3 probably doesn't match constraints synth.c:748: inconsistent operand constraints in an `asm' synth.c:780: inconsistent operand constraints in an `asm' make[2]: *** [synth.lo] Error 1 make[2]: Leaving directory `/root/player/mad-0.14.2b/libmad' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/player/mad-0.14.2b' make: *** [all-recursive-am] Error 2
(I don't list the whole message, because it is too long....)
Does any one know what's going on?
Thanks in advance.