Hi, You might want to check out the reasons behind Tcl error messages from the link below:
- General error message interpretation: http://www.ns2ultimate.com/post/419191200/tcl-error-message-in-ns2 To fix the error, please read the following posts: - Invalid command name: http://www.ns2ultimate.com/post/995668627/error-message-invalid-command - To add new OTcl class: http://www.ns2ultimate.com/post/689847378/c-and-otcl-linkage-binding-c-and-otcl-classes - To add an OTcl command: http://www.ns2ultimate.com/post/801303612/c-and-otcl-linkage-otcl-commands-getting-started - To add a new module: http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2 Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Jun 3, 2011, at 11:31 PM, Ghofrane wrote: > > > > Hi, > After adding a new protocol, you should type make than you should type make > install as a root. If you do so, you won't have this error. > > > ________________________________ > From: N_F <negin1...@gmail.com> > To: ns-users@ISI.EDU > Sent: Friday, June 3, 2011 10:24 AM > Subject: [ns] Please help me with this error > > > Hi all, > > I have an agent implemented in ns which used to work properly before, but > now when I am trying to run different tcl files I m getting the same error > as below: > ns: > [code omitted because of length] > : invalid command name "Agent/hoperaa" > while executing > "Agent/hoperaa set packetSize_ 40" > > Does anyone have an idea about this error? > > Thanks in advance, > /Negin >