From: Jan H. <bu...@uc...> - 2003-01-30 09:38:32
|
On Wed, Jan 29, 2003 at 10:35:31PM -0800, Todd A. Jacobs wrote: > I am running Red Hat 8.0. I downloaded the linux-2.4.20 kernel from > kernel.org, and unpacked it into /usr/local/src. I did a "make mrproper > distclean" and then applied uml-patch-2.4.19-48. I got the following > error: > > patching file include/linux/raid/md_compatible.h > Hunk #1 FAILED at 34. > 1 out of 1 hunk FAILED -- saving rejects to file > include/linux/raid/md_compatible.h.rej > > Even when I deliberately take out RAID support from the kernel, it > refuses to build. I get tons of warnings, and eventually the compile > dies. > > Am I missing something simple? Has anyone gotten 2.4.20 to compile under > Red Hat 8.0? From what I saw on the list before, uml patches are not likely to apply to other than vanilla kernels they are made for. Thus uml-patch-2.4.19-48 is not likely to apply to anything else than linux-2.4.19 (and work). PS: Hope you are not compiling with gcc-2.96, which is a redhat prerelease known to get kenel compilation all wrong. PPS: make mrproper and make distclean do exactly the same (they used to differ is a small detail and IIRC now they do not differ at all) and neither of them should be needed, but in practice they are needed when you patch a tree in which you already compiled for another platform or with another compiler, or sometimes when the patch changes dependencies enough for make to get them wrong. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bu...@uc...> |