AnsweredAssumed Answered

Building Kernel Image Issue

Question asked by Dave Swihart on May 13, 2014
Latest reply on Jul 19, 2014 by Dave Swihart

Hi,

 

I am getting this error and I don't know why. I am following the "Android User's Guide" for building a kernel. Here is what I am getting:

 

now@Here:~$ export PATH=~/mydroid/jb/bootable/bootloader/uboot-imx/tools:$PATH

now@Here:~$ cd mydroid/jb/kernel_imx

now@Here:~/mydroid/jb/kernel_imx$ echo $ARCH && echo $CROSS_COMPILE

 

 

 

now@Here:~/mydroid/jb/kernel_imx$ export ARCH=arm

now@Here:~/mydroid/jb/kernel_imx$ export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-

now@Here:~/mydroid/jb/kernel_imx$ make imx6_android_defconfig

#

# configuration written to .config

#

now@Here:~/mydroid/jb/kernel_imx$ make uImage

make: /home/now/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: Command not found

scripts/kconfig/conf --silentoldconfig Kconfig

make: /home/now/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: Command not found

  CHK     include/linux/version.h

  CHK     include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

  CC      kernel/bounds.s

/bin/sh: 1: /home/now/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: not found

make[1]: *** [kernel/bounds.s] Error 127

make: *** [prepare0] Error 2

now@Here:~/mydroid/jb/kernel_imx$

 

What am I doing wrong? Am I missing something? I am using Ubuntu 14.04 and the JB4.3_1.1.0 GA source. Please help.

 

Thank you,

Outcomes