The advice above is very good. Also remember than on PowerPC based systems you don’t need to make a compressed boot image, so typing “make vmlinux” instead of “make zImage” is usually called for. That is, assuming that you have the correct source code.
Unfortunately, Linus’ kernel often doesn’t have the latest PowerPC changes incorporated into it. With time everything gets in and the kernel will be compilable with the source from kernel.org, but this doesn’t happen very quickly.
So, it pays to get the source from the PowerPC kernel developers themselves. If you’re using a newer PowerMac (e.g. the iBook2) then right now this is a must. Fortunately, it’s quite easy to obtain.
If you have rsync installed, then you can obtain the latest versions of the benh development version of the kernel source by running the following command:
rsync -arvz --delete rsync.penguinppc.org::linux-2.4-benh [directory]
where [directory] is the name of the directory you would like the source to be downloaded into. (See the the rsync man page for more info.)
If you’d prefer to download Debian packages of the kernel source, they’re seperated out into a base kernel source package and then an additional patch package. For example, I see right now that there are “kernel-source-2.4.13” and “kernel-patch-benh” packages — these might be a good place to start. Unfortunately I can’t say more about them since I’ve never used them.
Good luck. 🙂
— Another Anonymous PPC Linux User