[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] What's wrong with my running of the topology generationexample?



Thank you! 
I have download it. But I could not make it until I uncomment two lines
in the file Makefile under the directory sgb2ns/ as below(I run NS2 on my PC with LINUX OS):
    #SYS = -DSYSV
    #LIBS = -lm -lgb5
But nothing changed. I check the mytopo-0.tcl and replace duplex-link-of-interfaces 
by duplex-link. Then I source the topo-gen.tcl and topo-view.tcl and tred as below:
    view-topology mytopo-0.tcl mytopo-0.nam 0
The error is :
    class Node: constructor failed: invalid command name "_o4 _o162" 
What shall I do?

> duplex-link-of-interfaces should be replaced by duplex-link. that
> should've been caused by sgb2ns etc. you can try update your sgb2ns to
> newer verion (which I believe you can find on
> http://www.isi.edu/nsnam/dist)
>