LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   make: *** No rule to make target 'clean'. Stop. (https://www.linuxquestions.org/questions/ubuntu-63/make-%2A%2A%2A-no-rule-to-make-target-clean-stop-4175595265/)

elimor 12-12-2016 03:02 AM

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?

pan64 12-12-2016 04:20 AM

probably you would need to cd into another dir first.
but looks like insufficient information....

elimor 12-12-2016 07:38 AM

Quote:

Originally Posted by pan64 (Post 5640933)
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?

pan64 12-12-2016 09:00 AM

http://www.linuxquestions.org/questi...gs-4175464257/
http://catb.org/~esr/faqs/smart-questions.html

BW-userx 12-12-2016 09:01 AM

Quote:

Originally Posted by elimor (Post 5640923)
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.

elimor 12-12-2016 12:07 PM

Quote:

Originally Posted by BW-userx (Post 5641005)
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.

BW-userx 12-12-2016 12:13 PM

Quote:

Originally Posted by elimor (Post 5641096)
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

elimor 12-12-2016 01:26 PM

1 Attachment(s)
Quote:

Originally Posted by BW-userx (Post 5641098)
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

BW-userx 12-12-2016 01:47 PM

Quote:

Originally Posted by elimor (Post 5641135)
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.


All times are GMT -5. The time now is 02:23 AM.