LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Error: "make: *** No rule to make target `folder'. Stop." (https://www.linuxquestions.org/questions/linux-kernel-70/error-make-%2A%2A%2A-no-rule-to-make-target-%60folder-stop-728057/)

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.

Quote:

[root@localhost untitled folder]# make -C /lib/modules/2.6.27.21-170.2.56.fc10.i686/build/ M=`pwd` modules
make: Entering directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
make: *** No rule to make target `folder'. Stop.
make: Leaving directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
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 02:54 PM.