kernel-module version missmatch !??????
From: Martin Huang (martin_at_bi.com.tw)
Date: 08/31/03
- Next message: tony_at_aplawrence.com: "Re: Linux Replacing Windows on the Desktop, I Think Not! (was Re: Same concerns as a real American)"
- Previous message: Wenjie: "Re: save my FQDN (redhat 8.0)"
- Next in thread: John Winters: "Re: kernel-module version missmatch !??????"
- Reply: John Winters: "Re: kernel-module version missmatch !??????"
- Reply: Peter T. Breuer: "Re: kernel-module version missmatch !??????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Aug 2003 20:12:42 +0800
Hi:
I tried to compile this program:
#define MODULE
#include <linux/module.h>
int init_module (void) /* Loads a module in the kernel */
{
printk("Hello kernel n");
return 0;
}
void cleanup_module(void) /* Removes module from kernel */
{
printk("GoodBye Kerneln");
}
by typing:
# gcc -c hello.c
# insmod hello.o
however, I got an error message saying "kernel-module version missmatch,
hello.o was compiled for kernel version 2.4.9-9,
while this kernel is version 2.4.18-14"............
What should I do ? Upgrade gcc???
I am using RedHat Linux 8.0
Thanx
Martin
- Next message: tony_at_aplawrence.com: "Re: Linux Replacing Windows on the Desktop, I Think Not! (was Re: Same concerns as a real American)"
- Previous message: Wenjie: "Re: save my FQDN (redhat 8.0)"
- Next in thread: John Winters: "Re: kernel-module version missmatch !??????"
- Reply: John Winters: "Re: kernel-module version missmatch !??????"
- Reply: Peter T. Breuer: "Re: kernel-module version missmatch !??????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|