Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED) make && make modules_install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nomad5770
n00b
n00b


Joined: 10 Jun 2011
Posts: 37
Location: Connersville, Indiana

PostPosted: Fri Jun 17, 2011 9:53 am    Post subject: (SOLVED) make && make modules_install Reply with quote

Ok, I am using a kernel made for my by Pappy but make && make modules_install is not working for me. I keep getting this,

Code:
/usr/src/linux2.6.39-gentoo-r1/scripts/gcc-version.sh: line 25: ngcc: command not found
/usr/src/linux2.6.39-gentoo-r1/scripts/gcc-version.sh: line 26: ngcc: command not found
make: ngcc: Command not found
  CHK       include/linux/version.h
  CHK       include/generated/utrelease.h
  CC         kernel/bounds.s
/bin/sh:  ngcc:  command not found
make[1]: ***  [kernel/bounds.s]  Error 127
make:  ***  [prepare0] Error 2
[/b]
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2381
Location: Wisconsin (USA)

PostPosted: Sun Jun 19, 2011 12:04 am    Post subject: Reply with quote

Likely solution here for the interested:

http://www.linuxquestions.org/questions/linux-general-1/error-building-kernel-2-6-36-a-841855/
Back to top
View user's profile Send private message
nomad5770
n00b
n00b


Joined: 10 Jun 2011
Posts: 37
Location: Connersville, Indiana

PostPosted: Sun Jun 19, 2011 6:17 am    Post subject: Reply with quote

My error was because I didn't rename the new config file ".config"
Back to top
View user's profile Send private message
krenshala
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2006
Posts: 81
Location: Austin TX, NorAm, Sol III

PostPosted: Fri Sep 09, 2011 11:09 pm    Post subject: Reply with quote

I changed

Code:
CONFIG_CROSS_COMPILE="n"

to

Code:
CONFIG_CROSS_COMPILE=""

in .config per the linked LQ thread, and that seems to have done it for me as well (2.6.39-r3).

Thank you. ;)

In my case I ran make oldconfig and selected "n" instead of just enter for the default value. I guess that is the root cause?
_________________
krenshala
:wq
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8990

PostPosted: Sat Sep 10, 2011 2:32 am    Post subject: Reply with quote

krenshala wrote:
In my case I ran make oldconfig and selected "n" instead of just enter for the default value. I guess that is the root cause?
Yes. The value of CROSS_COMPILE is inserted before the compiler name, so that you can select an architecture by giving its CHOST as the value of CROSS_COMPILE. You selected the non-existent target architecture n.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum