Wednesday, 21 October 2015

Help compiling my first kernel



I've been trying to build a modified kernel and decided to start out by building the kernel I'm currently using on my device from the dev's github.

without modifying anything, I followed this guide: http://forum.xda-developers.com/andr...ernel-t2871276

I get to the point where I type "make -j<cores>"(in step 6) and I get this:


Code:


root@Box:~/android/kernel# make
make: /root/android/kernel/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
make: /root/android/kernel/arm-eabi-4.4.3/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: /root/android/kernel/arm-eabi-4.4.3/bin/arm-eabi-gcc: not found
/root/android/kernel/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:958: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2


I dont know what I'm doing wrong, I've tried compiling with Kali Linux and Ubuntu.
I just can't get past this part.

Eventually I want to replace the wifi drivers with a modified one to allow the device to enter monitor mode.

Could someone please help?

Thank you.



No comments:

Post a Comment