Re: Error building 'Hello,World' kernel Module

2004-08-05 Thread Lei Yang
Shine Mohamed Jabbar wrote: Hi, I tried ur program in my machine and its working fine. Apart from what u've done I did two more things 1) Copied the config file from the /boot to kernel source directory and done make menuconfig I didn't copy anything to kernel source, I just did 'make

Re: Error building 'Hello,World' kernel Module

2004-08-05 Thread Shine Mohamed Jabbar
On Fri, 2004-08-06 at 04:14, Lei Yang wrote: Shine Mohamed Jabbar wrote: Hi, I tried ur program in my machine and its working fine. Apart from what u've done I did two more things 1) Copied the config file from the /boot to kernel source directory and done make menuconfig

Error building 'Hello,World' kernel Module

2004-08-04 Thread Lei Yang
Hello, I am learning about module programming and just tried to build a simplest module, Hello World. The code is as follows: /* hello.c #include linux/module.h #include linux/kernel.h int init_module(void) { printk(Hello world!\n); return 0; } void