[ns] ns error invalid command name "Node/DelayBox"
renuka uday prabhu
renuka_prabhu at rediffmail.com
Thu Mar 5 21:24:26 PST 2009
Dear ns-users
I am using ns-2.33 version installed on Cygwin . It was working fine. Now I tried to add Cluster Based Routing Protocol(CBRP), the source code for which I got from the internet for version 2.1b5. I modified the code and removed all the errors to fit for the new version. I modified the makefile.in to include the cbrp/.o files.Then I executed ./configure
make clean and make.
Everything was o.k. But when I run ns by typing ns at the command prompt,after setting the env. variables ,I get the following error
code omitted because of length
:invalid command name "Node/DelayBox"
while executing
"Node/DelayBox instproc init args {
eval $self next $args
$self instvar db_classifier_
set db_classifier_ [new Classifier/DelayBox ]
$self insert-etr..."
invoked from within "if {[ns-hasSTL]==1} {
Simulator instproc set-nix-routing{}
Simulator set nix-routimg 1
Node enable-module "Nix"
}
Simulator instproc get-link-...."
Can anyone please help me out in this regard.
nam and startx commands are working properly. I tried to edit the makefile.in in different ways but not successful. Is there anything that I should do specifically for cygwin version
Thanx
renuka
More information about the Ns-users
mailing list