LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help required in compiling Network driver module. (https://www.linuxquestions.org/questions/linux-software-2/help-required-in-compiling-network-driver-module-671409/)

ravi14 09-21-2008 01:06 PM

Help required in compiling Network driver module.
 
Hi All,

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.

Thanks.

Unknown_User 10-19-2008 02:01 AM

Are you able to make the 2.4.32-2pxe kernel source available to RH9?

You could then use
Code:

make oldconfig
before
Code:

make all
so that your .config file in /boot is used and thus you can point the compiler to the pxe source and not your RH9 source.


All times are GMT -5. The time now is 07:50 PM.