LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ns2 project (https://www.linuxquestions.org/questions/linux-newbie-8/ns2-project-4175536861/)

michaelmanyanga 03-16-2015 04:28 AM

ns2 project
 
hie

am using ns2.34
i have tried to run: make clean
:make

i got this results

for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mike/project/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb'


running a tcl file with black hole attack i get the following error, but am not sure whats the problem excatly

num_nodes is set 33
INITIALIZE THE LIST xListHead
ns: _o171 blackhole:
(_o171 cmd line 1)
invoked from within
"_o171 cmd blackhole"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o171" line 2)
(SplitObject unknown line 2)
invoked from within
"_o171 blackhole"


give me some reference or some sites where to video tutorials, or pdf tutorials which can help me to solve this problems

i will be very grateful for response

John VV 03-17-2015 01:55 PM

unfortunately one dose NOT learn to write code and debug software and run tcl code through NS from watching videos

what dose your textbook have to say ?

knudfl 03-18-2015 01:46 PM

Quote:

running a tcl file with black hole attack i get the following error
Looks like you are not using an approved "blackhole-simulation.tcl" file.

Blackhole INFO, post #3 here ...
http://www.linuxquestions.org/questi...-4175535427/#3


All times are GMT -5. The time now is 03:30 PM.