title: Compiling FFmpeg 3.1.1 for x86 using Android NDK
body: <p>The newest version of <code>FFmpeg</code> is <code>3.1.1</code>. After version <code>3.1</code>, I can't compile <code>FFmpeg</code> for <code>x86</code>.(But <code>3.0.2</code> or earlier versions can be compiled.)</p>
  
  <p>The terminal shows <code>ld: error: libavutil/../compat/strtod.o: incompatible target</code>. </p>
  
  <p>My OS is <code>Xubuntu 14.04 x86</code> and <code>x86_64</code>.(I have tried both of them.)</p>
  
  <p>My <code>NDK</code> version is <code>r10e(x86)</code> and <code>r12b(x86_64)</code>.</p>
  
  <p>When I compile <code>FFmpeg 3.0.2</code>, it has no error.</p>
  
  <p>This is my configure:</p>
  
  <pre><code>./configure \
  --prefix="${PREFIX}" \
  --enable-shared \
  --disable-static \
  --disable-doc \
  --disable-ffplay \
  --disable-ffprobe \
  --disable-ffserver \
  --cross-prefix="${PREFIX}/bin/i686-linux-android-" \
  --target-os=linux \
  --arch=x86 \
  --enable-cross-compile \
  --sysroot="${PREFIX}/sysroot" \
  --extra-cflags="" \
  --extra-ldflags="" \
  --extra-libs="" \
  --disable-debug
  </code></pre>
  
  <p><code>${PREFIX}</code> is a directory path used for <code>--install-dir</code> option while running <code>make-standalone-toolchain.sh</code> which is a tool in Android NDK.</p>
  
  <p>It only happens while I compile <code>FFmpeg</code> for <code>x86</code>. <code>ARM</code> architecture is ok.</p>