LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to add mac protocol to ns2 ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-add-mac-protocol-to-ns2-4175603544/)

Nesrine 04-10-2017 04:15 AM

how to add mac protocol to ns2 ?
 
Hi,i need your help please ,i'm working on mac protocol base on QOS with ns2 but i dont know how to add my protocol tp the simulator .
I tried to tape ./configure or ./install but it gives me this error
with ./configure : i got this
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.

with ./install i got this
^
make: *** [aodv/aodv.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
.Thank you

knudfl 04-10-2017 06:26 AM

Welcome to LQ.

"ns-2.35" : You cannot run ./configure in ns-2.35/.
Please use ./install in ns-allinone-2.35/
... which will configure ns-2.35 in the right way.


Quote:

with ./install i got this
^
make: *** [aodv/aodv.o] Error 1
Ns make failed!
Probably an error in your code ?

The real error is shown some lines above "make: *** [aodv/aodv.o] Error 1"


-


All times are GMT -5. The time now is 10:27 PM.