Summary: | Unable to mrproper forever due to make's "prepare2" failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve Egbert <s.egbert> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | VERIFIED NEEDINFO | ||
Severity: | major | ||
Priority: | Normal | ||
Version: | 2004.3 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Steve Egbert
2005-01-11 17:57:39 UTC
Once I removed the $(srcdir)/include/asm and ".config" file, I was able to resume the traditional "make all" is now working... Keep in mind, the $(srcdir) is located under the "/usr/src/linux-2.6.10-gentoo-r4" and not the "/var/tmp/kernel-output/2.6.10-gentoo-r4". Repeat the same two file removal (manual mrproper?) in $(srcdir) and then do "genkernel all" and you'll get CC arch/i386/kernel/asm-offsets.s In file included from /usr/src/linux-2.6.10-gentoo-r4/arch/i386/kernel/asm-offsets.c:7: /usr/src/linux-2.6.10-gentoo-r4/include/linux/sched.h:4:37: asm/param.h: No such file or directory No further combination of genkernel options (--oldconfig, --mrproper) can get me going again. But I've managed to get make the traditional kernel make going doing the following: linux # cd /usr/src/linux-2.6.10-gentoo-r4/ linux # rm .config include/asm linux # make oldconfig all So.... I must have lost my dual-track perspective here... Is this a chicken and the egg issue or ??? Again.... linux # cd /usr/src/linux-2.6.10-gentoo-r4/ linux # make mrproper linux # genkernel oldconfig all ... ... CC arch/i386/kernel/asm-offsets.s In file included from /usr/src/linux-2.6.10-gentoo-r4/arch/i386/kernel/asm-offsets.c:7: /usr/src/linux-2.6.10-gentoo-r4/include/linux/sched.h:4:37: asm/param.h: No such file or directory What does it take to get "genkernel" to properly generate the "include/asm" symbolic link? config-kernel is no longer supported. Does it work without the config-kernel stuff? Please reopen when you reply to comment #2 I was told to # emerge linux-header that seems to fix the issue. |