hi .. this is samuel,
Here i had a problem while building kernel modules and then compiling, I got Linux kernel module programming guid, i am practising that book to make use for one of task. But as i am trying i m getting the following proble,..

Here is my hello1.c program
* hello−1.c − The simplest kernel module.
# include <linux/module.h> /* Needed by all modules */
# include <linux/kernel.h> /* Needed for KERN_INFO */
int init_module(void)
printk(KERN_INFO "Hello world 1.\n");
* A non 0 return means init_module failed; module can't be loaded.
return 0;
void cleanup_module(void)
printk(KERN_INFO "Goodbye world 1.\n");

and here is the make file for that....

obj-m +=hello1.o
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

but when i make the program, i am getting the following message...

[root@samuel HelloWorld]# make
make -C /lib/modules/2.6.18-1.2798.fc6/build M=/root/MPCP-Total Info/freshCodeMPCP/HelloWorld modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
make[1]: *** No rule to make target `Info/freshCodeMPCP/HelloWorld'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
make: *** [all] Error 2


CAN anybody help to get rid of this...
Thanks in advance