On Wed, 2003-05-07 at 21:20, Bluesea wrote: > I used "insmod" to install a modul which was compiled > with "gcc" under RH 8.0, and got the following > message: > > ./hello.o: kernel-module version mismatch > ./hello.o was compiled for kernel version 2.4.9-9 > while this kernel is version 2.4.18-14 > > So I think my compiler is for kernel version 2.4.9-9 nah you used the glibc headers for compiling your kernel module, not the kernel headers. Add -I/lib/modules/`uname -r`/build/include to your gcc commandline to use the kernel headers instead.
Attachment:
signature.asc
Description: This is a digitally signed message part