title: Build error while building android source code on ubuntu 12.04
body: <p>I was building android source code on my ubuntu 12.04, which I update to latest version of ubuntu and android (repo sync).
  After that I tried to build android source code(clean build).I got the following build error</p>
  
  <pre><code>&gt; host SharedLib: libOpenglRender
  &gt; (out/host/linux-x86/obj/lib/libOpenglRender.so) host Prebuilt:
  &gt; eventanalyzer
  &gt; (out/host/linux-x86/obj/EXECUTABLES/eventanalyzer_intermediates/eventanalyzer)
  &gt; Install: out/host/linux-x86/bin/exc_dump Install:
  &gt; out/host/linux-x86/bin/fastboot Install:
  &gt; out/host/linux-x86/bin/fs_config Install:
  &gt; out/host/linux-x86/bin/fs_get_stats Install:
  &gt; out/host/linux-x86/bin/genext2fs Install:
  &gt; out/host/linux-x86/bin/gpttool host Prebuilt: hierarchyviewer
  &gt; (out/host/linux-x86/obj/EXECUTABLES/hierarchyviewer_intermediates/hierarchyviewer)
  &gt; /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status
  &gt; make: *** [out/host/linux-x86/obj/lib/libOpenglRender.so] Error 1
  &gt; make: *** Waiting for unfinished jobs....
  </code></pre>
  
  <p>I did find the solution on the internet..</p>