[mad-dev] Compile error

hank.jan@billionton.com.tw hank.jan@billionton.com.tw
Tue, 12 Aug 2003 14:44:44 +0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3609D.36D11570
Content-Type: text/plain;
	charset="big5"

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.

------_=_NextPart_001_01C3609D.36D11570
Content-Type: text/html;
	charset="big5"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=big5">


<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial">
<DIV><FONT size=2><SPAN class=187235414-30072003>Hi,</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>I encountered some trouble when 
I did the cross compile.</SPAN></FONT></DIV><FONT size=+0><SPAN 
class=187235414-30072003>
<DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>While compiling MAD 0.14.2b 
with the following setting:</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><SPAN class=187235414-30072003><FONT size=2></FONT></SPAN><FONT 
size=2></FONT><FONT size=2></FONT></SPAN></FONT></DIV><FONT size=2><SPAN 
class=187235414-30072003></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>export 
CC=arm-linux-gcc</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>export 
LD=arm-linux-ld</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>./configure --host=arm-linux 
--enable-fpm=arm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It works 
successfully.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>Then I ran "make", but I got a 
long list of error message:</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003><FONT color=#008080>/bin/sh 
./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
-DFPM_ARM&nbsp;&nbsp;&nbsp;&nbsp; -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<BR>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<BR>synth.c: In function 
`dct32':<BR>synth.c:218: warning: asm operand 2 probably doesn't match 
constraints<BR>synth.c:218: warning: asm operand 3 probably doesn't match 
constraints<BR>synth.c:218: inconsistent operand constraints in an 
`asm'<BR>synth.c:219: inconsistent operand constraints in an `asm'<BR>synth.c: 
In function `synth_full':<BR>synth.c:611: warning: asm operand 2 probably 
doesn't match constraints<BR>synth.c:611: warning: asm operand 3 probably 
doesn't match constraints<BR>synth.c:611: inconsistent operand constraints in an 
`asm'<BR>synth.c:642: inconsistent operand constraints in an `asm'<BR>synth.c: 
In function `synth_half':<BR>synth.c:748: warning: asm operand 2 probably 
doesn't match constraints<BR>synth.c:748: warning: asm operand 3 probably 
doesn't match constraints<BR>synth.c:748: inconsistent operand constraints in an 
`asm'<BR>synth.c:780: inconsistent operand constraints in an `asm'<BR>make[2]: 
*** [synth.lo] Error 1<BR>make[2]: Leaving directory 
`/root/player/mad-0.14.2b/libmad'<BR>make[1]: *** [all-recursive] Error 
1<BR>make[1]: Leaving directory `/root/player/mad-0.14.2b'<BR>make: *** 
[all-recursive-am] Error 2</FONT><BR></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>(I don't list the whole 
message, because it is too long....)</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>Does any one know what's going 
on?</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=187235414-30072003>Thanks in 
advance.</SPAN></FONT><FONT size=2><SPAN 
class=187235414-30072003></DIV></SPAN></FONT></BODY></HTML>

------_=_NextPart_001_01C3609D.36D11570--