LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2017, 03:47 AM   #1
Azhar110
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Rep: Reputation: Disabled
Question Error running the localization codes in NS2


Num_nodes is set 4 INITIALIZE THE LIST xListHead
invalid command name "Agent/LocReq"
while executing "Agent/LocReq create _o82 "
invoked from within "catch "
$className create $o $args" msg" invoked from within "
if [catch "$className create $o $args" msg]
{ if [string match "__FAILED_SHADOW_OBJECT_" $msg]
{ delete $o return "" } global errorInfo error "class $..."
(procedure "new" line 3) invoked from within "new Agent/LocReq"
("for" body line 3) invoked from within "for {set i 0} {$i < $val(nu)}
{incr i} { # Setup the request agent set lreq_($i)
[new Agent/LocReq]
$ns_ attach-agent $node_($i) $lreq_($i)
# Set..." (file "loc1.tcl" line 185)

I have added the patch as well but no result ...
kindly help me I am a beginner ..

Last edited by Azhar110; 08-07-2017 at 11:30 AM.
 
Old 08-07-2017, 04:06 AM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,264
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Welcome to LQ!

Please place your code snippets inside [CODE]...[/CODE] tags for better readability. You may type those yourself or click the "#" button in the edit controls.

A quick search for "localization ns2" using the search link in the sidebar of this page turns up several useful threads, including these...

https://www.linuxquestions.org/quest...s2-4175609915/
https://www.linuxquestions.org/quest...s2-4175538215/

If you can't find what you are looking for there, perhaps one of our NS2 gurus will stop by with more information. Unfortunately I am not familiar with NS2 at this level.

Good luck!
 
2 members found this post helpful.
Old 08-07-2017, 11:32 AM   #3
Azhar110
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile Localization in ns2

Thanks for ur guidance i am new to this forum hope will learn to follow the rules as soon as possible...
 
  


Reply

Tags
localization-ns2, ns2



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
Localization in NS2 Faiza Al-Salti Linux - Networking 4 07-16-2017 04:18 PM
NS2 code for Secured localization rashi pandey Linux - Wireless Networking 1 04-05-2015 08:53 AM
[SOLVED] Error running the localization codes in NS2 rashi pandey Linux - Wireless Networking 8 04-01-2015 04:41 PM
I got an error while running leach package in ns2.. help me to get out of this error. rkgowrishankar Linux - Software 1 02-07-2012 04:51 AM
ns2 codes for OLSR codes sukrutha Linux - Newbie 3 01-25-2012 11:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:05 PM.

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