| Summary: | gentoo-sources-2.6.36 and 2.6.36-r1 - /bin/sh: ngcc: command not found | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter Ruskin <aoyu93> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | 7v5w7go9ub0o, onteria |
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Peter Ruskin
2010-11-14 15:42:11 UTC
Did you hit n during the configuration process by accident? Check your config file and also environment variables. No, definitely not. This happened with 2.6.36 and 2.6.36-r1 on two separate occasions. This also happens on my other machine, an x86. Here is the culprit: scripts/kconfig/qconf arch/x86/Kconfig /usr/src/linux-2.6.36-gentoo-r1/scripts/gcc-version.sh: line 25: ngcc: command not found /usr/src/linux-2.6.36-gentoo-r1/scripts/gcc-version.sh: line 26: ngcc: command not found make: ngcc: Command not found Hi all, thanks to my friend oon for this solution : grep CROSS /usr/src/linux/.config replace CONFIG_CROSS_COMPILE="n" to CONFIG_CROSS_COMPILE="" cp /usr/src/linux/.config /usr/src/config_bak cd /usr/src/linux/; make mrproper ; cp ../config_bak .config ; make oldconfig Source : http://www.linuxquestions.org/questions/linux-general-1/error-building-kernel-2-6-36-a-841855/ Re Comment #4: Thanks for the fix - it built fine after that. I had to unmask the latest nvidia-drivers for this kernel. *** Bug 344711 has been marked as a duplicate of this bug. *** CONFIG_CROSS_COMPILE expects a toolchain prefix of the sort: "hppa2.0-unknown-linux-gnu-", including the dash. It does not work with a y or n. You can set it as a make command line variable as well: make -j2 CROSS_COMPILE="hppa2.0-unknown-linux-gnu-" and it should then work fine. |