Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,301 Members 50,182 Now Online
XDA Developers Android and Mobile Development Forum

[q] compiling kernel probs!!

Tip us?
 
srikar nvvs
Old
#1  
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 :

Quote:
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
srikar@srikar-desktop:~/Android/kernel$
In .bashrc I added this line at the end :

Quote:
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
Old
#2  
adityak74's Avatar
Member
Thanks Meter 21
Posts: 91
Join Date: Jan 2013
Location: Chennai
Default Edit .bashrc

In the first line of export change it

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

To:
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 ]
Tags
compiling, error, kernel, source
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes