Hi,
I have problem to compile a small module example here is hello.c
#include linux/kernel.h
#include linux/module.h
int init_module(){
printk(KERN_DEBUG Hello Kernel);
return 0;
}
void cleanup_module(){
printk(KERN_DEBUG Good Bye Kernel);
}
I compile it with the command
gcc -D__KERNEL__
On Thu, Jan 08, 2009 at 08:58:20AM +0100, Abdelkader Belahcene wrote:
Hi,
I have problem to compile a small module example here is hello.c
#include linux/kernel.h
#include linux/module.h
int init_module(){
printk(KERN_DEBUG Hello Kernel);
return 0;
}
void cleanup_module(){
Hello,
My ultimate goal is to get my Netgear FA311 card running on 2.2r2. I have
found some information on downloading and compiling a couple of modules
(pci-scan and natsemi) which other posts indicate should work. I've been
able to get these to compile, but when I try insmod on pci-scan, I
3 matches
Mail list logo