Compile modules for the kernel?

Tim Wunder tim
Mon May 17 11:37:36 PDT 2004


On Friday 13 September 2002 06:26 am, Anita Lewis wrote:
> Is it possible to compile a module for the kernel without recompiling the
> kernel itself?  Let's say I got a new sound card and don't have that module
> in the sound directory in /var/lib/modules, because when I compiled my
> kernel I chose the Soundblaster stuff for the card I had then.  Is it
> possible to just compile the module needed for the new card?  If so, how do
> I do that?
>
> Thankfully, I do not have the problem, but I have wondered about this and
> never seen it addressed.  Thanks.

Sure, just compile it. change to the directory and compile.
Or, make xconfig, add the new soundcard driver as a module, make modules, make 
modules_install

(at least that's how I remember doing it :-) )

HTH, 
Tim

-- 
Caldera eWorkstation 3.1+, kernel 2.4.18-preempt, KDE 3.0.3, Xfree86 4.1.0
  4:00am  up 5 days, 13:48,  5 users,  load average: 0.00, 0.00, 0.00
It's what you learn AFTER you know it all that counts


More information about the Linux-users mailing list