LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-12-2016, 03:02 AM   #1
elimor
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Rep: Reputation: Disabled
make: *** No rule to make target 'clean'. Stop.


Hi
I change sth in "aodv.cc" in NS-2.35
as I wanted to use "make clean" to apply changes I give this error:

make: *** No rule to make target 'clean'. Stop.

please help me

what should I do?
 
Old 12-12-2016, 04:20 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,790

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
probably you would need to cd into another dir first.
but looks like insufficient information....
 
Old 12-12-2016, 07:38 AM   #3
elimor
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
probably you would need to cd into another dir first.
but looks like insufficient information....
thanks for your response but its in right directory
what kind of information do you need?
 
Old 12-12-2016, 09:00 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,790

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
http://www.linuxquestions.org/questi...gs-4175464257/
http://catb.org/~esr/faqs/smart-questions.html
 
Old 12-12-2016, 09:01 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by elimor View Post
Hi
I change sth in "aodv.cc" in NS-2.35
as I wanted to use "make clean" to apply changes I give this error:

make: *** No rule to make target 'clean'. Stop.

please help me

what should I do?
just run MAKE
you're going to have to manually clean out all of the old 'o' files yourself or just let make overwrite them.

Last edited by BW-userx; 12-12-2016 at 09:02 AM.
 
Old 12-12-2016, 12:07 PM   #6
elimor
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
just run MAKE
you're going to have to manually clean out all of the old 'o' files yourself or just let make overwrite them.
I run "make"
this time i face to this error:
make: *** No targets specified and no makefile found. Stop.
 
Old 12-12-2016, 12:13 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by elimor View Post
I run "make"
this time i face to this error:
make: *** No targets specified and no makefile found. Stop.
R U starting from scratch?

do you got a configure file that you have ran already?

automake ran if needed?

is this a tar file you opened then made some changes to?
if not then you may have to run gcc x x x x xx x
 
Old 12-12-2016, 01:26 PM   #8
elimor
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
R U starting from scratch?

do you got a configure file that you have ran already?

automake ran if needed?

is this a tar file you opened then made some changes to?
if not then you may have to run gcc x x x x xx x
sorry but I cant understand what do you mean?
Im a newbie in NS-2
the attached picture is the command I wrote and the error
Attached Thumbnails
Click image for larger version

Name:	2016-12-12.png
Views:	312
Size:	43.4 KB
ID:	23741  
 
Old 12-12-2016, 01:47 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by elimor View Post
sorry but I cant understand what do you mean?
Im a newbie in NS-2
the attached picture is the command I wrote and the error
you should have done an ls then copy pasted that terminal output in here so I can see what is going on in that directory. So I can better see why you are getting that error.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] make: *** No rule to make target `caodv/caodv_rquueue.o', needed by `ns'. Stop. maitanaji Linux - Newbie 5 07-18-2014 06:50 AM
[SOLVED] Error "make: *** No rule to make target `install'. Stop. chakra1 Linux - Newbie 11 11-01-2013 09:07 PM
make: *** No rule to make target `install-headers'. Stop. NightHorse Linux - Newbie 9 06-21-2009 05:16 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration