Help me to install ns-2.35 in ubuntu 14.4 while I execute ./leach_test
invalid command name "Resource/Energy"
while executing "Resource/Energy instproc setParams {args} { $self instvar energyLevel_ alarmLevel_ set energyLevel_ [lindex $args 0] set alarmLevel_ [lind..." (file "/home/devendra/ns-allinone-2.35/ns-2.35/mit/rca/resources/ns-energy-resource.tcl" line 11) invoked from within "source.orig /home/devendra/ns-allinone-2.35/ns-2.35/mit/rca/resources/ns-energy-resource.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source /home/devendra/ns-allinone-2.35/ns-2.35/mit/rca/resources/ns-energy-resource.tcl" (file "/home/devendra/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/uamps.tcl" line 18) invoked from within "source.orig /home/devendra/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/uamps.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source /home/devendra/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/uamps.tcl" (file "/home/devendra/ns-allinone-2.35/ns-2.35/tcl/mobility/leach.tcl" line 18) invoked from within "source.orig /home/devendra/ns-allinone-2.35/ns-2.35/tcl/mobility/leach.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source /home/devendra/ns-allinone-2.35/ns-2.35/tcl/mobility/$opt(rp).tcl" (file "tcl/ex/wireless.tcl" line 187) |
Please read the latest LEACH posts ...
. http://www.linuxquestions.org/questions/tags/pegasis/ . http://www.linuxquestions.org/questions/tags/leach/ .... to know that leach don't work with ns-2.35 . Latest is "leach+pegasis-ns234-files-2.tar.gz" https://drive.google.com/file/d/0B7S...it?usp=sharing - |
Quote:
./configure make clean make |
All times are GMT -5. The time now is 08:53 AM. |