(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) Languages and Compilers : (Category) How to compile a new kernel :
Recompiling kernels
I am running LinuxPPC R5, and I am trying to recompile the kernel to the latest version, but I am having difficulties. LinuxPPC R5 comes with v2.2.6 of the kernel, and when I apply the patches from v2.2.7-v2.2.10, I get some error messsages about patch being unable to update some files correctly. Since it seems that these files are not applicable to the PPC, I think it's safe to ignore these errors. But, once I finish applying the patches, and try to recompile, the compilation barfs on some of the macintosh specific files (particularly the mac keyboard driver, and the REASON I am recompiling the kernel is for the new version).
Has anyone else seen these problems, and what was the work around that you used??? Also, I would prefer to recompile the kernel myself, but if I cannot I was wondering if anyone had a site where the latest 'rpm' of the kernel is available for PPC.
Thanks in advance.
jfaller@nd.edu
Two things:
One is that patches will not always apply cleanly. The reasons for this are many and varied but generally relate to the programmers being too lazy.
The other is that the 2.2.10 kernel would not compile from source aas there is a slight problem in the file "arch/ppc/kernel/pmac_setup.c". You need to add the line:
#include <asm/dma.h>
somewhere near the top for it to compile.
b.judd@xtra.co.nz
[Append to This Answer]
Next: (Answer) Building a linuxPPC kernel (2.2.x)
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=654
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo