Bug 57632

Summary: Small fix to build kernel-2.4.9-18 from source
Product: [Retired] Red Hat Raw Hide Reporter: Need Real Name <svante.signell>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-26 04:36:07 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 Need Real Name 2001-12-17 22:25:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011113

Description of problem:
Compilation of kernel-2.4.9-18 fails when building the debug kernel:
 kdbmain.c:71: conflicting types for `kdb_nextline'
/usr/src/redhat/BUILD/kernel-2.4.9/linux/include/linux/kdbprivate.h:70:
previous declaration of `kdb_nextline'
make[2]: *** [kdbmain.o] Error 1
make[1]: *** [first_rule] Error 2
make: *** [_dir_kdb] Error 2

Version-Release number of selected component (if applicable):
kernel-2.4.9-18.src.rpm

How reproducible:
Always

Steps to Reproduce:
1. rpm --rebuild --target i686 kernel-2.4.9-18.src.rpm
2.
3.
	

Actual Results:  see above

Expected Results:  successful build

Additional info:

By changing the patch file linux-2.4.7-ikd.patch slightly the source
package builds the expected kernels: (picky compiler)
linux/include/kdbprivate.h: (same as in linux/kdb/kdbmain.c) 
-extern int kdb_nextline;
+extern volatile int kdb_nextline;
Environment:
gcc-3.1-0.10
glibc-2.2.4-20
binutils-2.11.92.0.12-4
modutils-2.4.12-3

Don't know if the kernel boots, cannot reboot until later. Have scsi driver
(aix7xxx) problems with newer (2.4.16-xx) kernels.

Comment 1 Need Real Name 2001-12-18 18:31:39 UTC
This kernel does not boot either, hangs at the same place as before, see bug
#57354 :-( The unbootable kernel collection gets larger....