http://mailman.isi.edu/pipermail/ns-users/2007-March/059031.html
After applying a patch to a source code, you need to recompile... Run make and it will work. For the detailed sequence of commands to run: http://www.q2s.ntnu.no/~paquerea/ns.html Laurent Paquereau Q2S Centre of Excellence, NTNU Raja Zahilah Raja Mohd. Radzi wrote: > Hi all, > > I have copied ns-2.30.....patch in folder ns-2.30. > Then patch it...as in your website. > Then ./configure > Then ./validate > When i run >>ns mwnode-ex.tcl , i got errors: > > invalid command name "Channel/Wireless" > while executing > "Channel/Wireless create _o14 " > 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 $val_(channel)" > invoked from within > "$ns_ wireless-config -routing $val_(routing) \ > -mac $val_(mac) \ > -phy ..." > (file "mwnode-ex.tcl" line 86) > > Anybody can help me with this..?
