LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 05-23-2009, 04:55 PM   #1
shri19
LQ Newbie
 
Registered: May 2009
Posts: 3
Thanked: 0
Error: "make: *** No rule to make target `folder'. Stop."


[Log in to get rid of this advertisement]
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.
shri19 is offline  
Tag This Post ,
Reply With Quote
Old 05-24-2009, 10:06 AM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 661
Thanked: 20
It does not appear that you are making a simple hello world program.

You should post what you have coded ... and your Makefile.
dxqcanada is offline     Reply With Quote
Old 05-27-2009, 09:08 AM   #3
shri19
LQ Newbie
 
Registered: May 2009
Posts: 3
Thanked: 0

Original Poster
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.
shri19 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Makefile:No rule to make target `g++',needed by... stop karthik.c Programming 5 03-09-2009 01:55 AM
Error "No rule to make target" while installing Linux Kernel 2.6.25.10 Dufresne Linux - Newbie 3 07-08-2008 03:57 PM
get this error when runnign make ***** "no rule to make target 'config'. stop" procfs Linux - General 3 01-31-2006 04:32 AM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 08:02 PM
Error: *** No rule to make target 'all'. Stop aa2bi Linux - Newbie 6 06-08-2004 01:55 PM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration