#465 Kernel Module Mismatch

Build/Compile Fails

Compile appeared to succeed, except that insmod
r128 failed, stating that r128.0 was compiled for kernel
version 2.4.18 while this kernel is version 2.4.18-2. I
use extra version numbers to distinguish different
compilations. In setting the default parameters,
install.sh correctly identified the kernel, but apparently
the compile did not.

A suggestion: in /usr/include/linux, I had to make
symlinks to
/usr/src/linux/include/linux/{modversions.h,modules} ;
otherwise compilation failed. It may be helpful to
include a reference in the documentation for possible
need for such symlinks. I am running debian woody.


  • Michel Dänzer

    Michel Dänzer - 2002-08-31

    Logged In: YES

    Those symlinks are a bad idea.

    If you look at Makefile.linux, it looks for kernel headers in

    /lib/modules/`uname -r`/build/include
    /usr/src/linux-`uname -r`/include

    The easiest solution is probably to set the
    /lib/modules/`uname -r`/build link correctly.

    PS: The chance of getting good feedback is higher on the
    devel list.

  • Michel Dänzer

    Michel Dänzer - 2002-08-31
    • labels: 101125 --> Core Kernel
    • milestone: 100191 --> Build/Compile Fails

Log in to post a comment.