Bug 172484 - Kernel will not build after up2date upgrade to 2.6.9-22.0.1.EL source
Summary: Kernel will not build after up2date upgrade to 2.6.9-22.0.1.EL source
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Kernel Maintainer List
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-05 03:28 UTC by Jeff Finkelstein
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-05 19:48:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Finkelstein 2005-11-05 03:28:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.5

Description of problem:
After using up2date to upgrade kernel and sources to kernel-2.6.9-22.0.1.EL I 
can no longer build a custom kernel. I followed the steps at http://www.redhat.
com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/as-x86/ to get the 
sources. I now get the following error:

[root@d400 linux]# make bzImage
  CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      arch/i386/mm/pageattr.o
arch/i386/mm/pageattr.c: In function `revert_page':
arch/i386/mm/pageattr.c:100: error: `_etext' undeclared (first use in this 
function)
arch/i386/mm/pageattr.c:100: error: (Each undeclared identifier is reported only 
once
arch/i386/mm/pageattr.c:100: error: for each function it appears in.)
arch/i386/mm/pageattr.c:104: warning: ISO C90 forbids mixed declarations and 
code
arch/i386/mm/pageattr.c: In function `__change_page_attr':
arch/i386/mm/pageattr.c:135: error: `_etext' undeclared (first use in this 
function)
make[1]: *** [arch/i386/mm/pageattr.o] Error 1
make: *** [arch/i386/mm] Error 2



Version-Release number of selected component (if applicable):
kernel-2.6.9-22.0.1.EL

How reproducible:
Always

Steps to Reproduce:
1.up2date to upgrade kernel
2.make defconfig
3.make bzImage
  

Actual Results:  Kernel build errors in pageattr.o

Expected Results:  Kernel should build correctly

Additional info:


Note You need to log in before you can comment on or make changes to this bug.