compiling with correct kernel version
I'm running SuSE 8.2 with kernel 2.4.20-4GB-athlon. I'm trying to install Rivatv so I can use the tv-in function on my geforce 4. When I do a uname -a it brings up kernel version 2.4.20-4GB-athlon. Yet when I try to insert the Rivatv module into the kernel it gives me this error: # modprobe rivatv /lib/modules/2.4.20-4GB-athlon/kernel/drivers/i2c/i2c-core.o: kernel-module version mismatch /lib/modules/2.4.20-4GB-athlon/kernel/drivers/i2c/i2c-core.o was compiled for kernel version 2.4.20-4GB while this kernel is version 2.4.20-4GB-athlon. /lib/modules/2.4.20-4GB-athlon/kernel/drivers/i2c/i2c-core.o: insmod /lib/modules/2.4.20-4GB-athlon/kernel/drivers/i2c/i2c-core.o failed /lib/modules/2.4.20-4GB-athlon/kernel/drivers/i2c/i2c-core.o: insmod rivatv failed When I'm compiling rivatv it compiles for 2.4.20-4GB. How do I get it to compile for 2.4.20-4GB-athlon? -- Allen Seelye Aseelye@blackfoot.net
Hi, On Sunday, November 23, 2003 at 03:37:07, Allen Seelye wrote:
I'm running SuSE 8.2 with kernel 2.4.20-4GB-athlon. I'm trying to install Rivatv so I can use the tv-in function on my geforce 4. When I do a uname -a it brings up kernel version 2.4.20-4GB-athlon. Yet when I try to insert the Rivatv module into the kernel it gives me this error:
# modprobe rivatv /lib/modules/2.4.20-4GB-athlon/kernel/drivers/i2c/i2c-core.o: kernel-module version mismatch /lib/modules/2.4.20-4GB-athlon/kernel/drivers/i2c/i2c-core.o was compiled for kernel version 2.4.20-4GB while this kernel is version 2.4.20-4GB-athlon.
When I'm compiling rivatv it compiles for 2.4.20-4GB. How do I get it to compile for 2.4.20-4GB-athlon?
You need to have a configured version of the kernel source in /usr/src/linux with the right subversion set. Install the package kernel-source cd /usr/src/linux make cloneconfig dep You also should make sure that the build of your module includes /lib/modules/<your kernel version>/build/include instead of the usual /usr/src/linux/include Henne p.s. please write your mails to @suse.com not to @lists.suse.com -- Hendrik Vogelsang aka Henne mailto: hvogel<at>hennevogel.de Sooner or later, we all became what Tyler wanted us to be. # random sigs made with fortune
participants (2)
-
Allen Seelye
-
Henne Vogelsang