LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Help me to install ns-2.35 in ubuntu 14.4 while I execute ./leach_test (https://www.linuxquestions.org/questions/linux-wireless-networking-41/help-me-to-install-ns-2-35-in-ubuntu-14-4-while-i-execute-leach_test-4175546640/)

bvdr 06-28-2015 08:35 AM

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)

knudfl 06-28-2015 04:46 PM

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

-

esmaeil 12-08-2015 12:53 AM

Quote:

Originally Posted by bvdr (Post 5384021)
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)


./configure
make clean
make


All times are GMT -5. The time now is 08:53 AM.