Re: [ns] help instalation ns-2.27 problems (milica marik)
Hi Milica Marik, It's a long holiday huh?! Don't know if you have resolved your problem or not yet but below is the solution: 1. Open tclcl.h 2. Move the line "#include "tclcl-mappings.h"" to immediate below definition of class "Tcl". Hope this helps. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, December 26, 2006 12:00 PM Subject: Ns-users Digest, Vol 36, Issue 25 > Send Ns-users mailing list submissions to > ns-users@isi.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.isi.edu/mailman/listinfo/ns-users > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > > 1. How does agent's target_ got initialized? (Huang Wei) > 2. OLSR implementation in ns2 (Kapil Suchdeo) > 3. very long trace files? (ghada) > 4. help instalation ns-2.27 problems (milica marik) > 5. Where I get the ns2 script of receiver initiated MAC protocol > or/and power control MAC? (Kevin) > > > -- > > Message: 1 > Date: Mon, 25 Dec 2006 17:01:08 +0800 > From: "Huang Wei" <[EMAIL PROTECTED]> > Subject: [ns] How does agent's target_ got initialized? > To: > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > Hi, all. Wish everyone a merry Christmas and a happy new year! > > I was going through the source code of ns and got confused when I wanted > to > find out how 'target_' of class agent, which is derived from class > connector, gets initialized? I know in Connector::command(), command > "target" is defined to do so. But where does this got invoked? > In function simulator's attach-agent{}, it calls node's attach{}. But in > attach "target" command is not invoked. Finally I find the target_ was > initialized after invoking Node's function:add-target { agent port }. But, > how? > I don't understand the code of this function: > > Node instproc add-target { agent port } { > $self instvar ptnotif_ > # Replaces the following line from old ns (2.1b7 and earlier) > # $self add-target $agent $port > foreach m [$self set ptnotif_] { > $m attach $agent $port > } > } > > It seems that the expression "$m attach $agent $port" does not invoke the > function Node instproc attach { agent { port "" } }(Because I got it to > print information and if it is called it will print). What is this > "attach"? > And how is target_ of agent finally got initialized? > > Thanks. > > HuangWei > > > > > -- > > Message: 2 > Date: Mon, 25 Dec 2006 14:40:48 +0530 > From: "Kapil Suchdeo" <[EMAIL PROTECTED]> > Subject: [ns] OLSR implementation in ns2 > To: ns-users@ISI.EDU > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hello, > Can anybody tell me where i can get implementation of OLSR in ns2. > > -- > Er. Kapil Suchdeo > 98275-49045 > > > -- > > Message: 3 > Date: Mon, 25 Dec 2006 18:16:02 +0900 > From: "ghada" <[EMAIL PROTECTED]> > Subject: [ns] very long trace files? > To: > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > Dear ALL, > > > > I have set of large trace files around 3 GB; I am using Perl script to > extract throughput and Data Delivery Ratio, > > But it takes a very long time, > > > > Any one has a solution for this... > > > > Thanks for your help, > > > > > -- > > Message: 4 > Date: Mon, 25 Dec 2006 02:43:01 -0800 (PST) > From: milica marik <[EMAIL PROTECTED]> > Subject: [ns] help instalation ns-2.27 problems > To: ns-users@ISI.EDU > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ascii > > > Hello users > > I was installing ns-2.27(allinone) and while building tclcl it appeared > # > tclcl-mappings.h:51 error: incomplete type 'Tcl' used in nested name > specifier > tclcl-mappings.h:52 error: invalid use of undefined type 'struct Tcl' > tclcl-mappings.h:41 error: forward declaration of'struct Tcl' >
Re: [ns] help instalation ns-2.27 problems
Hi, I had the same problem in cygwin and I had sent a mail already for this. IF someone could help that should be great. Regards Koussalya Quoting Larry Brigman <[EMAIL PROTECTED]>: > > It would help if you also provided the distro that you are using. There > are sometimes different answers depending on the distro. I do know that > cygwin has several different problems that I don't know anything about > but > others here do. > > You will need to provide some more details. Also I don't know if you are > locked > into using ns-2.27 as ns-2.29 and ns-2.30 are available and are known to > work on a larger set of platforms. > > On 12/25/06, milica marik <[EMAIL PROTECTED]> wrote: > > > > > > Hello users > > > > I was installing ns-2.27(allinone) and while building tclcl it appeared > > # > > tclcl-mappings.h:51 error: incomplete type 'Tcl' used in nested name > specifier > > 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' > > > > tclcl-1.15 make failed! Exiting... > > > > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > > > # > > so i couldn't find solution to my problem on the displayed page. > > If anyone from you can help me with my > > problem. > > > > Thanks > > > > > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > > > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > >
Re: [ns] help instalation ns-2.27 problems
It would help if you also provided the distro that you are using. There are sometimes different answers depending on the distro. I do know that cygwin has several different problems that I don't know anything about but others here do. You will need to provide some more details. Also I don't know if you are locked into using ns-2.27 as ns-2.29 and ns-2.30 are available and are known to work on a larger set of platforms. On 12/25/06, milica marik <[EMAIL PROTECTED]> wrote: > > > Hello users > > I was installing ns-2.27(allinone) and while building tclcl it appeared > # > tclcl-mappings.h:51 error: incomplete type 'Tcl' used in nested name specifier > 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' > > tclcl-1.15 make failed! Exiting... > > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > # > so i couldn't find solution to my problem on the displayed page. > If anyone from you can help me with my > problem. > > Thanks > > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >
[ns] help instalation ns-2.27 problems
Hello users I was installing ns-2.27(allinone) and while building tclcl it appeared # tclcl-mappings.h:51 error: incomplete type 'Tcl' used in nested name specifier 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' tclcl-1.15 make failed! Exiting... See http://www.isi.edu/nsnam/ns/ns-problems.html for problems # so i couldn't find solution to my problem on the displayed page. If anyone from you can help me with my problem. Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com