View previous topic :: View next topic |
Author |
Message |
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Fri Jun 17, 2011 9:53 am Post subject: (SOLVED) make && make modules_install |
|
|
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 |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Sun Jun 19, 2011 6:17 am Post subject: |
|
|
My error was because I didn't rename the new config file ".config" |
|
Back to top |
|
|
krenshala Tux's lil' helper
Joined: 28 Jan 2006 Posts: 85 Location: Austin TX, NorAm, Sol III
|
Posted: Fri Sep 09, 2011 11:09 pm Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Sat Sep 10, 2011 2:32 am Post subject: |
|
|
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 |
|
|
|