[ILUG] kernel compilation in SuSE 10.x.

Michael Watterson watty at eircom.net
Wed Aug 15 17:46:32 IST 2007


Pete McEvoy wrote:
> On Wed, Aug 15, 2007 at 04:53:29PM +0100, Darragh Ó Héiligh wrote:
>   
>> All I really have to do is add a few modules to the kernel to make an
>> application called speakup run.  Unfortunately it only runs in kernel
>> space.
>>     
>
> Its often possible to compile modules against the running kernel without
> having to recompile the kernel. Debian has something called
> module-assistant which helps automate the process, but in the absence of 
> that, you should just need a copy of the source (or perhaps headers) 
> matching your running kernel, make sure the version of gcc you're running 
> matches the one that originally compiled your kernel (cat /proc/version)
> then compile away.
>
> Obviously, theres lots of ways this wouldnt work, but its often worth a
> try rather than recompiling the whole kernel, which is so 90's...
>
>   
If its a loadable Kernel module you need kernel headers only and the 
kernel space module  will compile.
If it's built  in and needs something extra  in  the  Kernel  you might 
want make xconfig and recompile the Kkernel

--
Michael Watterson
11 Laurel Park
Patrickswell
Co. Limerick.

061-240107
085-740 3830




More information about the ILUG mailing list