LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2008, 01:06 PM   #1
ravi14
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
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.
 
Old 10-19-2008, 02:01 AM   #2
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Rep: Reputation: 30
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.
 
  


Reply

Tags
compile, modules, pxe, source



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network driver module problem? LinuxLover Linux - Enterprise 1 04-14-2008 12:58 PM
invalid module when compiling RT25USB v2.0.8.0 driver from Ralink Basel Linux - Wireless Networking 3 07-21-2007 02:46 AM
Unable to load wacom driver module after compiling for a 2.6.14.4 kernel dr_zayus69 Linux - Kernel 1 06-28-2006 09:38 AM
compiling driver and installing module giraf Debian 9 06-06-2006 02:23 PM
Compiling source code for a network card module WindowsBurner Linux - General 12 02-16-2005 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration