Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi, i encountered this problem when compling the tcl code, i am not sure where went wrong, did i miss any library or component? pls advice, i have been solving this for quite long..
num_nodes is set 20
INITIALIZE THE LIST xListHead
invalid command name "Agent/UDP/PDP"
while executing
"Agent/UDP/PDP create _o30 "
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/UDP/PDP"
("for" body line 4)
invoked from within
"for {set i 0} {$i < $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0 ;#disable random motion
set p($i) [new Agent/UD..."
(file "simple_example.tcl" line 73)
There is no such agent unless you integrated it yourself in ns. In which case we would need more information and the problem is not in the code you are providing rather than the process u followed to integrate it
Basic information to answer an ns2 question :
1) Your Linux OS : Version of Ubuntu ? Like Ubuntu 10.10 Maverick.
2) Version, ns-allinone-2.xx ( ns-allinone-2.33 ? )
2a) And did you add any patching to ns2 ?
3) Which command is done ? ( ns <file-name>.tcl ? )
4) Please provide a link to the tcl file in question.
4a) Or attach your code as name.tcl.txt, by using the "paper clip" tool
in the 'Advanced Editor' : "Post Reply".
1) Your Linux OS : Ubuntu 10.04 LTS
2) Version, ns-allinone-2.34
2a) And did you add any patching to ns2 ? nope
3) Which command is done ? ns simple_example.tcl
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
OK, then please attach simple_example.tcl.txt : As a text file ( Hence .txt )
I.e. Make a copy of simple_example.tcl, and rename to simple_example.tcl.txt :
Else you cannot attach it as text.
( Rather difficult to run 'ns part2.png' , I think.)
Where did you get this tcl script ? A link, please.
do u have a mail so that i can email u or any msn tool or something?
Attach it here as instructed so more people can take a look and possibly help you.
So, did you integrate Agent/UDP/PDP yourself or not ?
If yes you are probably not linking the right files in your makefile or not modifying correctly what is needed, you might want to take a look at : http://elmurod.net/wps/?p=157
If not then can you tell us where you came up with Agent/UDP/PDP ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.