Hi all, My problem is same as Nassim, I have corrected all the typos.Still I am getting the same error .Kindly ,help me.
regards, Smita On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 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. Re: Implementing new manet protocol (Francisco J. Ros) > 2. Re: Implementing new manet protocol (Francisco J. Ros) > 3. Ns2 installation errors (EFE MADAGWA) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 6 Jun 2007 10:00:01 +0200 > From: "Francisco J. Ros" <[EMAIL PROTECTED]> > Subject: Re: [ns] Implementing new manet protocol > To: ns-users@ISI.EDU > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Nassim, > > There are some typos in the tutorial. Sometimes "accessible_var" is > miswritten > as "accesible_var". Just have to find every occurrence of the latter and > correct the name. > > Regards, > fran > > On Tuesday 05 June 2007 10:51, nassim laga wrote: > > Hi All, > > > > I try to implement a new Manet protocol according to > > "ImplementingNewMANetProtocol" tutorial. > > > > but the following errors occurs when i try to simulate any script : > > > > ns: > > [code omitted because of length] > > > > : invalid command name "Agent/Protoname" > > > > while executing > > "Agent/Protoname set accessible_var_ true" > > > > > > Can any one help me? > > > > regards, > > Nassim > > > > > > --------------------------------- > > D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos > questions > > ! Profitez des connaissances, des opinions et des exp?riences des > > internautes sur Yahoo! Questions/R?ponses. > > -- > Francisco J. Ros, Ph.D. Student > Dept. of Information and Communications Engineering > University of Murcia, Murcia (Spain) > > http://masimum.inf.um.es/fjrm/ > > > > ------------------------------ > > Message: 2 > Date: Wed, 6 Jun 2007 10:23:13 +0200 > From: "Francisco J. Ros" <[EMAIL PROTECTED]> > Subject: Re: [ns] Implementing new manet protocol > To: nassim laga <[EMAIL PROTECTED]> > Cc: ns-users@ISI.EDU > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-15" > > Hi again, > > That's another problem, which has been reported several times in this > list. > Either you aren't recompiling the simulator, or "Protoname" isn't written > always in the same way (the protocol name is case-sensitive). > > Regards, > fran > > On Tuesday 05 June 2007 13:50, nassim laga wrote: > > I think that the problem is not on accessible_var_!!! > > i remove the line "Agent/protoname set accessible_var_ true" in > > "ns-default.tcl" and all occurence of the "accessible_var_" on the .cc > and > > .h files. and now i get the following errors : > > > > num_nodes is set 2 > > invalid command name "Agent/Protoname" > > while executing > > "Agent/Protoname create _o17 0" > > invoked from within > > "catch "$className create $o $args" msg" > > invoked from within > > "if [catch "$className create $o $args" msg] { > > if [string match "__FAILED_SHADOW_OBJECT_" $msg] { > > delete $o > > return "" > > } > > global errorInfo > > error "class $..." > > (procedure "new" line 3) > > invoked from within > > "new Agent/Protoname [$node node-addr]" > > (procedure "_o3" line 2) > > (Simulator create-protoname-agent line 2) > > invoked from within > > "$self create-protoname-agent $node" > > ("Protoname" arm line 2) > > invoked from within > > "switch -exact $routingAgent_ { > > Protoname { > > set ragent [$self create-protoname-agent $node] > > } > > DSDV { > > set ragent [$self create-dsdv-agent $node] > > } > > DSR {..." > > (procedure "_o3" line 11) > > (Simulator create-wireless-node line 11) > > invoked from within > > "_o3 create-wireless-node" > > ("eval" body line 1) > > invoked from within > > "eval $self create-wireless-node $args" > > (procedure "_o3" line 23) > > (Simulator node line 23) > > invoked from within > > "$ns_ node" > > ("for" body line 2) > > invoked from within > > "for {set i 0} {$i < $val(nn) } {incr i} { > > set node_($i) [$ns_ node] > > $node_($i) random-motion 0 ;# disable > random > > motion }" > > (file "simple-wireless.tcl" line 97) > > > > > > Can any one help me, > > > > Regards, > > Nassim > > > > "Francisco J. Ros" <[EMAIL PROTECTED]> a ?crit : Hi Nassim, > > > > There are some typos in the tutorial. Sometimes "accessible_var" is > > miswritten as "accesible_var". Just have to find every occurrence of the > > latter and correct the name. > > > > Regards, > > fran > > > > On Tuesday 05 June 2007 10:51, nassim laga wrote: > > > Hi All, > > > > > > I try to implement a new Manet protocol according to > > > "ImplementingNewMANetProtocol" tutorial. > > > > > > but the following errors occurs when i try to simulate any script : > > > > > > ns: > > > [code omitted because of length] > > > > > > : invalid command name "Agent/Protoname" > > > > > > while executing > > > "Agent/Protoname set accessible_var_ true" > > > > > > > > > Can any one help me? > > > > > > regards, > > > Nassim > > > > > > > > > --------------------------------- > > > D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos > > > questions ! Profitez des connaissances, des opinions et des > exp?riences > > > des internautes sur Yahoo! Questions/R?ponses. > > -- > Francisco J. Ros, Ph.D. Student > Dept. of Information and Communications Engineering > University of Murcia, Murcia (Spain) > > http://masimum.inf.um.es/fjrm/ > > > > ------------------------------ > > Message: 3 > Date: Wed, 6 Jun 2007 01:17:39 -0700 (PDT) > From: EFE MADAGWA <[EMAIL PROTECTED]> > Subject: [ns] Ns2 installation errors > To: ns-users@ISI.EDU > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hello, > > Can anyone help me find out what the error messages i am getting means > and how i can resolve them? > > This errors comes up after the ./install command. > > Please find attached are the error messages. > > Thanks. > > Efe > > > --------------------------------- > Ready for the edge of your seat? Check out tonight's top picks on Yahoo! > TV. > -------------- next part -------------- > An embedded and charset-unspecified text was scrubbed... > Name: ns2 install errors1.txt > Url: > http://mailman.isi.edu/pipermail/ns-users/attachments/20070606/2fe36d6d/ns2installerrors1.txt > -------------- next part -------------- > An embedded and charset-unspecified text was scrubbed... > Name: ns2 installation errors.txt > Url: > http://mailman.isi.edu/pipermail/ns-users/attachments/20070606/2fe36d6d/ns2installationerrors.txt > > ------------------------------ > > _______________________________________________ > Ns-users mailing list > Ns-users@isi.edu > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 42, Issue 6 > *************************************** >