Im am trying to compile "fealnx.c" (network card driver) on my system (RedHat 8.0, kernel 2.4.18-14), but am am getting a LOT of errors ( fealnx.c is distributed along with kernel sources).

The instruction am using is

gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c fealnx.c

could anyone give any hints on how to solve this problem ? (it would be GREAT if anyone could sen the "fealnx.o" file for my kernel...)

thanks for any help,