[ns] Old verisons of NS2
Hello All, I have a basic question.What exactly does NS2 depend on. I want to run NS2.1b8 now. Is it just the right version of gcc that I need to install on my FC3 or do I need to get some other linux. Somebody who has run NS2.1b8, please help with what version of kernel and gcc should I use. Also it would be great if I could get a link to download these softwares. I look forward to hear from somebody soon Thanks Vikas Luthra
[ns] Fwd: Installation problem in NS2 under Fedora
Hi I got FC3 (as advised for NS2.26), did ./install on ns2.26 allinone I get the following error tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' make: *** [embedded-tcl.o] Error 1 tclcl-1.0b13 make failed! Exiting .. Did anyone face a similar problem? On http://www.isi.edu/nsnam/ns/ns-problems.html I found - *Problem:* Tclcl doesn't build against gcc-3.4 (as in Fedora Core 3). *Solution:* Fixed in current CVS. Apply this patch: --- tclcl.h~ 2003-07-29 11:24:50.0 -0700 +++ tclcl.h 2004-12-10 08:55:34.692584936 -0800 @@ -45,8 +45,8 @@ } #include tclcl-config.h -#include tclcl-mappings.h #include tracedvar.h +// tclcl-mappings.h included below, AFTER definition of class Tcl struct Tk_Window_; @@ -158,6 +158,8 @@ Tcl_HashTable objs_; }; +#include tclcl-mappings.h + class InstVar; class TclObject { Do you know where to put this patch. Thanks Vikas On 10/23/07, sachin sharma [EMAIL PROTECTED] wrote: I have installed NS-2.26 in Fedora 3 and in Red hat 9. Try these. I did not try same version of NS in FC-5. Best of Luck --- Vikas Luthra [EMAIL PROTECTED] wrote: Hi That was great piece of information. I have been trying to install NS2.26 on FC5 for 3 days now. Is it possible at all? If not, what version should I get. I need to run NS2.26 for MAODV code implementation from http://www.sce.carleton.ca/wmc/code.html . I tried this on later versions of NS2, but it doesnt work. So I guess I need NS2.26 only. Can you please guide me which Linux or Cygwin (for windows) should I get? I sincerely appreciate your help. Thanks Vikas Arizona State University On 10/22/07, sharon_sachin [EMAIL PROTECTED] wrote: Installation of NS is operating system dependent. like if we want to talk about the Fedora. Then Fedora -3 support NS-2.28, Fedora 4 and Fedora 5 support NS - 2.29. So, before installling NS version U also see the compatibility of the same with the Linux operating System. Best Regards Sachin Sharma Karthikit wrote: Hi friends, I am having a problem at the time of installing NS2 in my notebook under fedora OS. The following is the error that I had during the installation. checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token `)' ./configure: line 7624: ` OSF*)' tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your platform. This is the problem that I had. Any one help me to install the NS2. Thanks in advance. -- View this message in context: http://www.nabble.com/Installation-problem-in-NS2-under-Fedora-tf4668605.html#a13357445 Sent from the ns-users mailing list archive at Nabble.com. Bring your gang together - do your thing. Go to http://in.promos.yahoo.com/groups
[ns] MAODV code for NS2.29
Hello everyone I have been struggling a lot lately with trying to get MAODV running. If any of you have run MAODV on any version of NS2, please help me. I could not install NS2.26 on Cygwin, as its giving a tclcl-1.0b13 make failed error The MAODV implementation from http://www.sce.carleton.ca/wmc/code.html for NS2.26 generates the following message when run on NS2.29 Loading connection pattern ... Loading scenarios file... Starting Simulation ... *ns*: _o734 aodv-join-group 0xE00: (_o734 cmd line 1) invoked from within _o734 cmd aodv-join-group 0xE00 invoked from within catch $self cmd $args ret invoked from within if [catch $self cmd $args ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error error when calling class $cls: $args $... (procedure _o734 line *2*) (SplitObject unknown line *2*) invoked from within _o734 aodv-join-group 0xE00 num_nodes is set 50 All I need is MAODV on NS2 under cygwin, no matter what version. Please help Thanks Vikas
[ns] understanding AODV code
Hi I was wondering if somebody could help me with a link to understanding the AODV code in NS2. probably some kind of tutorial/link or an other help. Thanks in advance Vikas
Re: [ns] Any solutions to your simple-wireless.tcl query?
Hi all, I´m new at NS2 and just working trough the tutorial of Marc Greis. In Chapter IX first part he makes a wireless 2 node scene (simple-wireless.tcl) and connects a ftp agent to them. The output is written to a trace file (simple.tr). The programm runs without an error and there is a trace file - but xgraph wont read it, I only get errors like: Error in file `simple.tr' at line 10799: Unknown line type Lines in simple.tr look like: s 0.029290548 _1_ RTR --- 0 message 32 [0 0 0 0] --- [1:255 -1:255 32 0] s 1.119926192 _0_ RTR --- 1 message 32 [0 0 0 0] --- [0:255 -1:255 32 0] M 10.0 0 (5.00, 2.00, 0.00), (20.00, 18.00), 1.00 s 10.0 _0_ AGT --- 2 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0 0 r 10.0 _0_ RTR --- 2 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0 0 Making a nam file was no problem - so I think it´s a problem in the file format (xgraph sample in chapter VIII did work properly)?! I found some old posting with a similar problem - but none of the given advices did work. Can anyone give me a hint? thanks vikas
[ns] Running AODV in NS2
Hi I see this query all over, but unfortunately haven't got any answers to it. Can somebody please guide on the steps to run AODV on NS2. I just downloaded ns-allinone-2.29.2.tar.gz, extracted it, took the Marc Grei's tutorial. Everything is running fine, just that the aodv.tcl file is giving me an error Invalid Command Name Agent/RtProto/Aodv while executing Agent/RtProto/Aodv inst proc init args { $self next $args } Please help Vikas