Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,319 Members 52,541 Now Online
XDA Developers Android and Mobile Development Forum

[q] compiling kernel probs!!

Tip us?
srikar nvvs
Junior Member - OP
Thanks Meter 12
Posts: 22
Join Date: Apr 2013
Location: Hyderabad
Post [q] compiling kernel probs!!

I'm having problem while compiling kernel from source :

srikar@srikar-desktop:~$ cd Android/kernel
srikar@srikar-desktop:~/Android/kernel$ make ARCH=arm CROSS_COMPILE=arm-eabi- -j4
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
make[2]: *** [scripts/mod/empty.o] Error 2
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
make[1]: *** [kernel/bounds.s] Error 2
make: *** [prepare0] Error 2
srikar@srikar-desktop:~/Android/kernel$ ^C
In .bashrc I added this line at the end :

export PATH=${PATH}:Android/toolchains/arm-eabi-4.4.3/bin
export PATH=${PATH}:Android/bootimagetools/tools
What to do please help me
Thanks in advance
adityak74's Avatar
Thanks Meter 22
Posts: 91
Join Date: Jan 2013
Location: Chennai
Default Edit .bashrc

In the first line of export change it

export PATH=${PATH}:Android/toolchains/arm-eabi-4.4.3/bin

export PATH=${PATH}:Android/toolchains/arm-eabi-4.4.3/bin/arm-eabi-

Other things seems to be fine

Please hit on the thanks button if you like my work.
The Following User Says Thank You to adityak74 For This Useful Post: [ Click to Expand ]
compiling, error, kernel, source
Thread Tools
Display Modes