title: UImage error in Android Kernel compilation
body: <p>When I compile the amlogic kernel I get an error like this;</p>
  
  <pre><code>make: *** [out/target/product/g18/obj/KERNEL_OBJ/arch/arm/boot/uImage] Error 2
  </code></pre>
  
  <p>first I do;</p>
  
  <pre><code>--&gt;export PATH="/home/infoteks-sba/opt/arm-2010q1/bin:$PATH"
  --&gt;export PATH="/home/infoteks-sba/opt/arm-eabi-4.6/bin:$PATH"
  --&gt;export PATH="/home/infoteks-sba/opt/gcc-arm-none-eabi-4_7-2013q3/bin:$PATH"
  --&gt;export PATH="/home/infoteks-sba/opt/arm-2013.11/bin:$PATH"
  --&gt;export PATH="/home/infoteks-sba/opt/arc-eabi/bin:$PATH"
  --&gt;export PATH="/home/infoteks-sba/opt/eldk-5.4/armv7a/sysroots/i686-eldk-linux/usr/bin:/home/infoteks-sba/opt/eldk-5.4/armv7a/sysroots/i686-eldk-linux/usr/bin/armv7a-vfp-neon-linux-gnueabi:$PATH"
  --&gt;export PATH="/home/infoteks-sba/opt/ndk:$PATH"
  --&gt;export ARCH="arm"
  --&gt;export CROSS_COMPILE="arm-eabi-4.6-"
  --&gt;cd /AnroidKernelBuild
  --&gt;. build/envsetup.sh
  --&gt;lunch
  list select number 32 (g18-eng)
  --&gt;make -j8
  </code></pre>
  
  <p>I tried them on my research;</p>
  
  <pre><code>*export CROSS_COMPILE="arm-eabi-"
  *export CROSS_COMPILE="/home/infoteks-sba/opt/arm-eabi-4.6-"
  *make -j8 ARCH=arm CROSS_COMPILE=/home/infoteks-sba/opt/arm-eabi-4.6-
  *make -j8 ARCH=arm CROSS_COMPILE=arm-eabi-
  *make -j8 ARCH=arm CROSS_COMPILE=/home/infoteks-sba/opt/arm-eabi-4.6-
  </code></pre>
  
  <p>I'll give you all the logs on the link. How can I fix this error? Can you help me?
  Link(while CROSS_COMPILE=arm-eabi-) = <a href="https://paste.ubuntu.com/p/wGgVjQ9Dn7/" rel="nofollow noreferrer">https://paste.ubuntu.com/p/wGgVjQ9Dn7/</a></p>
  
  <p><strong>After correcting the errors;</strong></p>
  
  <p>new error;</p>
  
  <pre><code>make: *** [vmlinux] Error 2
  make: *** [out/target/product/g18/obj/KERNEL_OBJ/arch/arm/boot/uImage] Error 2
  </code></pre>