From: Santiago Gala (sgala_at_hisitech.com)
Date: 2002-07-12 08:18:55 UTC
I've managed to do it.
If you have several kernels binaries around in the machine, this patch for the Makefile:
VERFILE := $(KERNEL_PATH)/include/linux/version.h
-KERNELRELEASE := $(shell if [ -r $(VERFILE) ]; \
will install in the one you are running.
Alternatively you can just copy the module to the place where it tries to put it after successful make (I think /lib/modules/<release>/net), and execute "depmod -a"
At least this works for Mandrake, I don't know if Redhat kernel source is that different.