Re: kernel mismatch

On Wed, Nov 13, 2002 at 03:44:21PM +0100, Bruno Weber wrote:
> Hallo everybody
> 
> I am trying to install comedi on a SUSE 8.0 system.
> The kernel is 2.4.18-64GB-SMP.
> Now if I want to run ./configure comedi, I confirm
> /lib/modules/2.4.18-64GB-SMP/build as the kernel
> source tree and get the following warning:
> 
>  ***
>  ***    WARNING!!!
>  ***
>  ***    The kernel that is currently running (2.4.18-64GB-SMP)
>  ***    appears to be a different version than the source in
>  ***    /lib/modules/2.4.18-64GB-SMP/build (2.4.18-4GB).
>  ***    If so, the current compile will create a module that is
>  ***    INCOMPATIBLE with the running kernel.  (This could be
>  ***    what you want, however.)
>  ***
> 
> Why is this mismatch of kernel versions?

Because the kernel source says that it is 2.4.18-4GB.  It's pretty
common for packaging scripts to override the version string while
building N different binary kernel packages.  There is, of course,
nothing that Comedi can do about this.

If you are _absolutely sure_ that the kernel source was configured
with the correct .config file, (for example, you copy the .config
file from /boot and run 'make oldconfig' on the kernel source) then
you can just change the kernel version in .buildvars before
compiling Comedi.



dave...

Received on 2002-11-13Z21:15:25