<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
pre
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New"}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle18
{font-family:"Calibri","sans-serif";
color:#1F497D}
span.HTMLPreformattedChar
{font-family:"Courier New"}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks, Carl!</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I removed this option as you suggested:</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Courier New"">><i> --as=arm-none-linux-gnueabi-as</i></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">added a few more and it worked. I do make and that compiles the libraries. Stripping failed, so I disabled it and I wanted to avoid assemblt code, so I disabled that too.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Here’s the exact command that worked:</span></p>
<p class="MsoNormal"><i><span style="color:#1F497D">./configure --disable-runtime-cpudetect --enable-cross-compile --cc=arm-none-linux-gnueabi-gcc --arch=armv5te --disable-vfp --disable-armv6 --disable-armv6t2 --disable-neon --target-os=linux --enable-small
--disable-debug --disable-asm --disable-yasm --disable-stripping --disable-everything</span></i></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">The next challenge for me is to make mplayer build accept the ffmpeg libraries I just built instead of building on its own.
</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Vikas</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Vikas Sawant
<br>
<b>Sent:</b> Tuesday, February 05, 2013 10:30 AM<br>
<b>To:</b> 'libav-user@ffmpeg.org'<br>
<b>Subject:</b> configure script fails for cross-compiling</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m trying to cross compile ffmpeg for the arm processor and run the following configure command:</p>
<p class="MsoNormal">./configure --enable-cross-compile --host-cc=/usr/bin/gcc --cc=arm-none-linux-gnueabi-gcc --as=arm-none-linux-gnueabi-as --nm=arm-none-linux-gnueabi-nm --ar=arm-none-linux-gnueabi-ar --disable-asm --disable-vfp --disable-armv6 --arch=armv5te
--target-os=arm-linux --disable-yasm --disable-everything</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">But nothing happens. Compiling tools directory is included in the PATH, so that doesn’t seem to be an issue. The script looks stuck somewhere. All it has generated is a 0 bytes a.out file and config.log. Here’s how the tail of config.log
looks like:</p>
<p class="MsoNormal">$ tail config.log </p>
<p class="MsoNormal">yadif_filter_deps=gpl</p>
<p class="MsoNormal">yasm=no</p>
<p class="MsoNormal">yasmexe_default=yasm</p>
<p class="MsoNormal">zerocodec_decoder_select=zlib</p>
<p class="MsoNormal">zlib_decoder_select=zlib</p>
<p class="MsoNormal">zlib_encoder_select=zlib</p>
<p class="MsoNormal">zmbv_decoder_select=zlib</p>
<p class="MsoNormal">zmbv_encoder_select=zlib</p>
<p class="MsoNormal">mktemp -u XXXXXX</p>
<p class="MsoNormal">T13966</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Am I missing something in the configure script?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Vikas</p>
</div>
<br>
<br>
<font color="black"><font size="2">
<p style="font-family:arial,sans-serif">This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If you are not the intended recipient, you are hereby
notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited.</p>
</font></font>
</body>
</html>