Well I built the kernel from the kernel-sources-2.4.18 - just did
this worked just fine (using gcc 2.95 which is standard on debian 3.0).
By the way it produces a different kernel than the one I am running
- the make created 'bzImage' whereas I am actually running a kernel
called vmlinuz-2.4.18-bf2.4 which is what the debian installer gave me.
(crimarti - the step-by-step instructions for building the kernel are in
a HOWTO file in the Documentation directory under kernel-source-2.4.18.
I forget the exact filename but this is pretty standard stuff and I think
the three lines I listed above are all you really need.)
Anyway, building the kernel from source made no difference to my
problem with the NVIDIA installer. I am beginning to suspect that
the 5336 version of the NVIDIA stuff has some dependency on the
2.6.x kernel and won't work with 2.4.x (?)
Now I am pursuing a different approach, as outlined in
Towards the end of that page he has a section titled
"Build instructions when using Debian kernels". So far I
have successfully built the nvidia-kernel package but have not
attempted to run X yet since building that. (Not clear if I also
need to build the nvidia-glx stuff or if that is optional.)