[Techtalk] compiling an external kernel module

Carla Schroder carla at bratgrrl.com
Wed Apr 7 14:37:39 EST 2004


On Wednesday 07 April 2004 1:50 pm, Devdas Bhagat wrote:
> On 07/04/04 11:53 -0700, Carla Schroder wrote:
> > O Great Kernel Geeks,
> > 
> > I've been butting my head on this for a week now, therefore I appeal to 
> > greater minds than mine. How do you compile a kernel module that is not 
> > included in the kernel sources? Do you have to get the sources, and write 
a 
> If source for the drivers is provided, you also generally have a
> Makefile. So just run make as instructed. You do need sources for your
> kernel version though.
> 
> > makefile, and invoke gcc, and horrid stuff like that? What's a person who 
> > wants to run a hardware device that is not supported in the kernel to do?
> Knowing a few more details would help. Such as what device, whether you
> have driver source, or if it is third party source...
>

I'm trying to come up with a general HOWTO, I don't have a specific need right 
now. This keeps coming up with a couple of clients, who have a talent for 
"needing" bleeding-edge, unsupported hardware, so I want to figure it out and 
write it down, so I don't have to keep re-learning it. 

So what it really comes down is depending on the module author to provide a 
workable makefile, then the rest is routine build & install. If it's so far 
out it doesn't even have that, I suppose Plan B is "too bad, so sad!"

Thanks Mary and Devdas!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Techtalk mailing list