-   Linux - Kernel (
-   -   Error: "make: *** No rule to make target `folder'. Stop." (

shri19 05-23-2009 03:55 PM

Error: "make: *** No rule to make target `folder'. Stop."
hello all,

this is shri here and i am new to this community though i have been using linux for quite a while.

i am a fedora10 user and i am getting this no rule to make target error while compiling a simple hello world program. i went through some of the posts that are already posted in this forum regarding this topic though i have not been able to solve the problem yet.

here is the output when i try to compile the program.


[root@localhost untitled folder]# make -C /lib/modules/ M=`pwd` modules
make: Entering directory `/usr/src/kernels/'
make: *** No rule to make target `folder'. Stop.
make: Leaving directory `/usr/src/kernels/'
I googled this topic a lot but still the problems remains and i am totally stuck with this for the last few days. Please help me out.

dxqcanada 05-24-2009 09:06 AM

It does not appear that you are making a simple hello world program.

You should post what you have coded ... and your Makefile.

shri19 05-27-2009 08:08 AM

thanx dxq.....the problem was with the folder name. it was named untitled folder and the space in the name was causing the error. Renamed it to test and everything worked fine. sorry i couldn't reply eariler as the net was down here.

All times are GMT -5. The time now is 09:04 AM.