LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in running codes of TORA (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-running-codes-of-tora-4175538510/)

sitha pushkar 04-02-2015 04:39 AM

problem in running codes of TORA
 
Hi,
I am new in linux. I have following problem while running the codes of TORA in ns-2.35 in ubuntu.Can you please help me?


num_nodes is set 6
INITIALIZE THE LIST xListHead

(_o22 cmd line 1)
invoked from within
"_o22 cmd port-dmux _o37"
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 "_o22" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent port-dmux $dmux_"
(procedure "_o19" line 11)
(Node/MobileNode add-target-rtagent line 11)
invoked from within
"$self add-target-rtagent $agent $port"
(procedure "_o19" line 28)
(Node/MobileNode add-target line 28)
invoked from within
"$self add-target $agent $port"
(procedure "_o19" line 15)
(Node attach line 15)
invoked from within
"$node attach $ragent [Node set rtagent_port_]"
(procedure "_o3" line 85)
(Simulator create-wireless-node line 85)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
invoked from within
"set n(0) [$ns node]"
(file "tora2.tcl" line 115)

knudfl 04-02-2015 10:31 AM

Welcome to LQ.

TORA : Please read post #7 here
http://www.linuxquestions.org/questi...-4175537979/#7

sitha pushkar 04-04-2015 02:26 AM

Installation of ns2.35 .
 
Thanks for ur reply Knudfi.Now we want to install ns2.35 in ubuntu 14.04.so I follow the following steps
$ sudo apt-get update && sudo apt-get install g++ automake libtool libxmu-dev xgraph
In/home/name/<dir>/
$ tar xvf ns-allinone-2.35_gcc491.tar.gz
$ cd ns-allinone-2.35/
$ ./install
after this step we are getting 'linkstate error' so how can we remove it? plz help.

knudfl 04-04-2015 03:13 AM

Re #3.

Which Ubuntu 14.04 ? i686 or x86_64 ?

This command will reply with architecture : $ uname -m

sitha pushkar 04-05-2015 04:37 AM

Problem in installing ns2.35 in ubuntu 14.04
 
1 Attachment(s)
Hi,
I follow installation steps but getting 'linkstate' error after step ./install & error is given below.

knudfl 04-05-2015 04:53 AM

Re #5.

REPEAT :
?? Which Ubuntu 14.04 ? i686 or x86_64 ?
This command will reply with architecture : $ uname -m


And : Read post #2 : http://www.linuxquestions.org/questi...-4175537979/#7
>>> Ns-2.35 + tora :
$ tar xvf ns-allinone-2.35_gcc482.tar.gz
$ cd ns-allinone-2.35/
patch -p0 < tora_ns235.patch
$ ./install
$ cd ns-2.35/
$ cp ns ns235-tora
$ sudo make install
$ sudo cp ns235-tora /usr/local/bin/
$ cd ../nam-1.15/
$ sudo make install

Simulation :
$ ns235-tora tora2.tcl : OK.
$ ns235-tora wrls-tora1.tcl : OK.


And : No black images with error output, please.


-

sitha pushkar 04-06-2015 06:16 AM

Patching of TORA.
 
Hi Knudfi, thanks for ur reply
I want to patch tora in ns2.35 in ubuntu14.04. I have codes as well as patches .so where should i save .patch file. Where to install patches ? How to install patches? Plz give me steps for that. plz give quick reply.

knudfl 04-06-2015 07:19 AM

Re #7.
Quote:

I want to patch tora in ns2.35 in ubuntu14.04
? Which Ubuntu 14.04 ? i686 or x86_64 ?


Quote:

I have codes as well as patches
There is one patch only : tora_ns235.patch .
Using : Copy 'tora_ns235.patch' to ns-allinone-2.35/
Steps : The above post #6
http://www.linuxquestions.org/questi...-4175538510/#6


-

sitha pushkar 04-08-2015 07:28 AM

Thanks for your previous reply
I follow your steps to patch TORA. But it gives same error as mention in previous post .i badly need ur help. plz suggest something.

knudfl 04-08-2015 09:21 AM

Re #9.

Your OS is unknown. Read post #8.

Please show the reply from the command $ uname -m


All times are GMT -5. The time now is 10:31 AM.