Help required in compiling Network driver module.
I am using Red Hat 9 having kernel version 2.4.20-8 and am newbie to using linux programming.
I have installed PXES thin Client software and using it to generate run time images to be used for booting Thin Clients. The PXES run time image using kernel version 2.4.32-2pxes.
Now I want to integrate new Realtek 8101 Network driver in this PXES image file. I have downloaded the driver source file and compiled the source and when I copy & try use the driver module file (r8101.o) in thin client, it gives the error message that the kernel version is not proper. I am compiling the source file in version 2.4.20-8 & using it in thin client image file which is having version 2.4.32-2pxes.
How do I compile the network driver source for different kernel version ? Please help as I don't have much knowledge of compiling modules in linux.