Errors compiling kernel 2.2.22 ?
Jeremy Portzer <[email protected]> 08 Nov 2002 07:29:49 -0500
| Newsgroups | gmane.linux.redhat.release.zoot |
|---|---|
| Message-ID | <[email protected]> |
Hello, Has anyone had trouble compiling kernel 2.2.22 on RHL 6.2, specifically the loop.c module? I'm using the kernel-source-2.2.22-6.2.2 rpm available from the errata. There are a large number of errors in loop.c, such as: loop.c: In function `compute_loop_size': loop.c:157: `a2e0a082' undeclared (first use in this function) loop.c:157: subscripted value is neither array nor pointer loop.c:158: subscripted value is neither array nor pointer It goes on and on... loop.c:208: `caf51008' undeclared (first use in this function) loop.c:208: invalid lvalue in increment loop.c:212: nondigits in number and not hexadecimal loop.c:212: nondigits in number and not hexadecimal Hundreds of those errors. It looks as if the file is corrupted somehow, but if you look at loop.c itself, everything is fine. Maybe some messed up #defines somewhere? How would I debug this further? Here's the steps I'm using to compile: make mrproper cp configs/kernel-2.2.22-i686-smp.config .config make dep make clean make bzImage make modules <-- fails here I tried some of the other configurations, but they all yield the same error. I may try using the vanilla 2.2.22 source instead of the Red Hat package, but this is a production server and I'd rather use Red Hat's optimizations. (Yes, I know a better idea overall would be to upgrade to a newer version of Red Hat Linux, or at least upgrade to a 2.4 kernel, but these aren't options for this production server right now.) Thanks for any advice, Jeremy Portzer Instructional Web Server Administrator Durham Technical Community College