Compiling drivers

D. Michael McIntyre michael.mcintyre at rosegardenmusic.com
Wed Dec 20 03:09:01 UTC 2006


On Tuesday 19 December 2006 6:54 pm, Tez wrote:

> version.h then hit Ctrl-C Then you should be able to compile against it.
> Having said that, I have to ask, why don't you just use the kernel headers?

I don't recommend ever trying to compile a kernel the old fashioned way on a 
Debian-based system.  Ignore all the generic instructions, and make friends 
with kernel-package.

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

If you need to build a third-party module, another handy Debian utility is 
module-assistant.  I'm not completely sure it will work for modules sources 
that don't come as Debian packages, but it might be possible.

This stuff is really very good.  I have to build my own kernels, because stock 
kernels on most distros in this day and age are completely useless for Linux 
audio and MIDI.  kernel-package and module-assistant are good friends.

Having said that, I don't think Renaud actually needs to do *any* of this.  
Chances are the driver on that CD is out of date anyway, and he already has a 
newer one in the stock kernel.  He should assume this is the case until he 
can prove he *really* needs to bother with compiling anything.

-- 
D. Michael McIntyre 




More information about the kubuntu-users mailing list