Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i added a new folder that contains x.cc, x.h, x.o, x.tcl files and edited in the "makefile.in" in following places
"INCLUDES=" , "OBJ_CC=", "NS_TCL_LIB"
and while recompiling it using "make" command we get the following error:
Makefile.in is newer than Makefile.
You need to re-run configure.
false
make: *** [Makefile] Error 1
i need to know the reason for this error and how to rectify it.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
Welcome to LQ.
"Makefile" is generated from Makefile.in.
When you edit the Makefile.in, a new Makefile is a must :
cd ns-allinone-2.xx/ns-2.xx/ && make clean && mv Makefile Makefile.orig
&& ./configure && make
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
#3, @hd_uni_pro.
"blackholeaodv.tcl" is a generic name : Several files with that name.
And :
A file.tcl with e.g. "set opt(ragent) Agent/rtProto/blackholeAODV"
.. is not usable, as none of the available blackholeaodv patches
are defining a "new rtProto/blackholeAODV". See #11.
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 5.
'black_h-o-l-e_attack_.zip' : Don't know how you got it in that format (zip).
The package is an exact copy of "blackholeaodv2005-ns235-patch.tar.gz",
that I made up last year : ``June 2013´´.
( The included `blackholeaodv.tcl´ is not a usable example, sorry.)
Solution : Stick to the examples in blackholeaodv2005-examples.tar.gz .
Remark : Do not quote entire posts. And do not quote your own posts.
A "one word" reference will do.
I opened the zip file and copy the file I got the DNS error
I left a message a few posts above general how do I fix it?
Also, I would grateful if you post me the answer http://www.linuxquestions.org/questi...dv-4175504687/
Grateful
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 5.
A new package blackholeaodv2005-ns235-patching-2.tar.gz,
without the two examples.tcl is available : https://drive.google.com/file/d/0B7S...it?usp=sharing
( The edited bhAODV.tcl is present in 'blackholeaodv2005-examples.tar.gz'.)
A new package blackholeaodv2005-ns235-patching-2.tar.gz,
without the two examples.tcl is available : https://drive.google.com/file/d/0B7S...it?usp=sharing
( The edited bhAODV.tcl is present in 'blackholeaodv2005-examples.tar.gz'.)
-
i download file and run it in ns2.29
but display error
files must run it in NS 2-35 ?
Last edited by hd_uni_pro; 05-12-2014 at 04:38 AM.
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 3 .
"blackholeaodv.tcl" is not a simulation file.
Is also located as ns-2.xx/blackholeaodv/blackholeaodv.tcl ,
.. and is meant to be included in tcl/lib/ns-lib.tcl , like :
Code:
#LMS
source ../mcast/ns-lms.tcl
# BlackoleAODV
source ../../blackholeaodv/blackholeaodv.tcl
# STL dependent modules get included
# ONLY when STL is found
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.