Bug 89607
Summary: | cannot compile from kernel-source-2.4.20-9 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ronny Bremer <rbremer> |
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
Status: | CLOSED WORKSFORME | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | athlon | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-04-25 12:09:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ronny Bremer
2003-04-24 22:07:18 UTC
you should do a make mrproper before copying the configfiles. Unfortionatly the kernel makefile dependencies are not 100% watertight ;( make mrproper then make dep gives the following errors:[root@fghamw03 linux]# make dep gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c make[1]: Entering directory `/usr/src/linux-2.4.20-9/arch/i386/boot' make[1]: Nothing to be done for `dep'. make[1]: Leaving directory `/usr/src/linux-2.4.20-9/arch/i386/boot' scripts/mkdep -- init/*.c > .depend scripts/mkdep -- `find /usr/src/linux-2.4.20-9/include/asm /usr/src/linux-2.4.20-9/include/linux /usr/src/linux-2.4.20-9/include/scsi /usr/src/linux-2.4.20-9/include/net /usr/src/linux-2.4.20-9/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend find: /usr/src/linux-2.4.20-9/include/asm: No such file or directory make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_crypto _sfdep_arch/i386/kernel _sfdep_arch/i386/mm _sfdep_arch/i386/lib _sfdep_arch/i386/oprofile _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib crypto arch/i386/kernel arch/i386/mm arch/i386/lib arch/i386/oprofile" make[1]: Entering directory `/usr/src/linux-2.4.20-9' make -C kernel fastdep make[2]: Entering directory `/usr/src/linux-2.4.20-9/kernel' make[2]: *** No rule to make target `/usr/src/linux-2.4.20-9/include/linux/autoconf.h', needed by `/usr/src/linux-2.4.20-9/include/linux/modules/signal.ver'. Stop. make[2]: Leaving directory `/usr/src/linux-2.4.20-9/kernel' make[1]: *** [_sfdep_kernel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20-9' make: *** [dep-files] Error 2 [root@fghamw03 linux]# autoconf and automake are both installed as RPMs as well. Ronny "you should do a make mrproper before copying the configfiles." eg make mrproper cp configs/kernel-2.4.20-athlon.config .config make oldconfig make dep make bzImage yeah yeah, stupid me, sorry. :) compile now in progress, results will be posted soon compile works now :) thanks for your help. Ronny |