Can't figure out why this kernel build fails
<p>I'm trying to build a recovery for an Android device, but build fails with not too much (for me...) explanations. Here are the latest lines </p>

<pre><code>target  C: libcrypto_static &lt;= external/openssl/crypto/sha/sha1dgst.c
target  C: libcrypto_static &lt;= external/openssl/crypto/sha/sha256.c
target  C: libcrypto_static &lt;= external/openssl/crypto/sha/sha512.c
target  C: libcrypto_static &lt;= external/openssl/crypto/sha/sha_dgst.c
target  C: libcrypto_static &lt;= external/openssl/crypto/srp/srp_lib.c
make[2]: *** [vmlinux] Error 1
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/Arch/javier/dati/download/part-tree/kernel-3.10'
make: *** [/home/Arch/javier/dati/download/part-tree/out/target/product/y991/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz-dtb] Error 2
make: *** Waiting for unfinished jobs....
target  C: libcrypto_static &lt;= external/openssl/crypto/srp/srp_vfy.c

#### make failed to build some targets (12:24 (mm:ss)) ####
</code></pre>

<p>I can't put the whole output on pastebin because of its weight. Tell me which parts could be interesting for you.</p>

<p>EDIT:
At this link you can find last 5000 lines
<a href="http://pastebin.com/XAVNQJDY" rel="nofollow">http://pastebin.com/XAVNQJDY</a></p>