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: <[email protected]> Sent: Tuesday, December 26, 2006 12:00 PM Subject: Ns-users Digest, Vol 36, Issue 25 > Send Ns-users mailing list submissions to > [email protected] > > 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: <[email protected]> > 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: [email protected] > 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: <[email protected]> > 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: [email protected] > 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' > 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 > > ------------------------------ > > Message: 5 > Date: Mon, 25 Dec 2006 23:23:56 +0800 > From: "Kevin" <[EMAIL PROTECTED]> > Subject: [ns] Where I get the ns2 script of receiver initiated MAC > protocol or/and power control MAC? > To: "[email protected]" <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="gb2312" > > Dear All, > > (1) I am trying to do some experiment on Ad Hoc and WLAN MAC protocol on > ns2, and I want to implement the receiver initiated MAC proposed by some > researchers, can anyone tell me where I can some relavent materials? > (2) I am also trying to implement the power control MAC protocol for Ad > hoc network, can anyone also give me some hints or relavent materials > about that? > I would appreciate if someone can help me within this. > Thanks in advance and Happy Holidays to all! > > Kevin > > > > > ------------------------------ > > _______________________________________________ > Ns-users mailing list > [email protected] > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 36, Issue 25 > ****************************************
