Bug 18913
Summary: | Cannot compile a kernel PERIOD! | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Crockett <david.crockett> |
Component: | kernel | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | arjan, jakub |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i586 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-10-12 10:42:04 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
David Crockett
2000-10-11 19:30:41 UTC
First of all, this has nothing to do with gcc. The kernel-source rpm comes with depend an modversion info prepared so that you're able to built third party modules against the installed currently running kernel. In the command sequence above you forgot to make mrproper first. To kernel team: I think Rules.make in Linus tree (and ours as well) is buggy: @if [ ! -r $(MODINCL)/$*.stamp -o $(MODINCL)/$*.stamp -ot $< ]; then \ should probably read as: @if [ ! -r $(MODINCL)/$*.stamp -o $(MODINCL)/$*.stamp -ot $< -o $(MODINCL)/$*.stamp -ot $(TOPDIR)/include/linux/autoconf.h ]; then \ because that's IMHO the reason why in this case the .ver files were not updated during make dep after make menuconfig (which created a new autoconf.h). This is a dupe of 18359 . You need to do a "make mrproper" first between switching from SMP to/from UP. (Remember to store and later restore your .config to a safe location, as "make mrproper" deletes it) |