Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Post [q] compiling kernel probs!!

OP srikar nvvs

22nd March 2014, 03:24 PM   |  #1  
OP Junior Member
Flag Hyderabad
Thanks Meter: 12
 
23 posts
Join Date:Joined: Apr 2013
More
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
25th March 2014, 12:18 PM   |  #2  
adityak74's Avatar
Member
Flag Chennai
Thanks Meter: 24
 
91 posts
Join Date:Joined: Jan 2013
More
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: [ View ]
Post Reply Subscribe to Thread

Tags
compiling, error, kernel, source
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes