LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-20-2014, 11:31 AM   #1
Ganesh3691
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
Error while executing tcl...


im getting this error while running tcl..can any one pls help me to fix it..


ns 40n.tcl
num_nodes is set 40
Go to create-mobileexor-agent
In create-mobileexor-agent { node }
start to create MOBILEEXOR agent for node with address 0
warning: no class variable Agent/MOBILEEXOR::enable_local_forwarder_

see tcl-object.tcl in tclcl for info about this warning.

can't read "rtname": no such variable
while executing
"if { $rtname == "Agent/MOBILEEXOR" } {
[$self set ragent_] mac-type [$mac_($t) info class]
[$self set ragent_] set-mac $mac_($t)
$mac_($t)..."
(procedure "_o14" line 12)
(Node/MobileNode add-interface line 12)
invoked from within
"$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_"
(procedure "_o3" line 81)
(Simulator create-wireless-node line 81)
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 n0 [$ns node]"
(file "40n.tcl" line 61)
 
Old 04-20-2014, 12:39 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
can't read "rtname": no such variable
A "variable" must be defined, before you can use it.

? Any questions ? Then please attach '40n.tcl' as 40n.tcl.txt .
* Attachments : The paper clip tool in the Advanced Editor'.

And may be upload your code, ns-2.34/mobileExOR/{mobileExOR_table.cc etc.},
ns-2.34/<?>/{ other edited files} , to e.g. 'Google Docs'.

-
 
  


Reply

Tags
exor



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while executing blackholeAODV tcl k_kimo Linux - Wireless Networking 5 06-27-2013 03:07 AM
Floating point exception error while executing tcl with ns2 ines8989 Linux - Software 2 04-22-2013 05:31 PM
Floating point exception error while executing tcl with ns2 ines8989 Linux - Software 0 04-09-2013 01:44 PM
I am getting the following error while executing the drop1.tcl program. Plz help me t divya84 Linux - Newbie 1 10-10-2012 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration