Hello,

I'm starting to play writing a kernel module and I'm running into a
versioning problem.

# insmod hello.o
hello.o: kernel-module version mismatch
        hello.o was compiled for kernel version 2.2.12
        while this kernel is version 2.2.13.

I installed the kernel 2.2.13 sources and compiled my own version using
the kernel package. Some time ago I was running 2.2.12 and at that time
I installed the libc6-dev package which seems to take care of the
/usr/include/linux tree where the 2.2.12 thing is coming from
(/usr/include/linux/version.h). 

So, what is the right way to "update" the /usr/include/linux tree when I
install a new kernel version? (I'm running Potato).

Thanks,

-- 
Pedro

Reply via email to