I've never had any trouble compiling the Linux 2.2.x or 2.4.x series kernels before. I'm now trying to compile the vintage 2.0.39 kernel and the whole procedure is giving me fits!
I downloaded it from kernel.org
First I did the usual, "make xconfig" and selected what I wanted.
Next I did the "make dep" and it bombed out in the /drivers/char directory with an "*** [fastdep] Error 135" error.
After messing around with it trying different configs, all with the same results. I decided to patch the kernel with the "latest 2.0.40-pre 4" patch.
This time the "make dep" was successful!
So I did the "make clean" just to play it safe.
Then the "make bzImage"
But I started getting errors that said "Invalid `asm' statement:"
and "fixed or forbidden register [some machine register] was spilled for [some class] "
I am compiling this on a Slack-8 machine (gcc version 2.95.3) that has successfully compiled other kernels.
So what is the trick to this?