[ns] gdb debugger

2007-09-17 Thread Elahe Alipour
Hi all I installed gdb debugger and it ran commands like list, break. but i can't use it properly. i want to cross debug TCL and c++ and step through each line of C++ and TCL code. but i don'

[ns] catch "$self cmd $args" ret

2007-09-16 Thread Elahe Alipour
hi all I added a new agent to NS but when i ran tcl script i received the following error. invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] glo

[ns] gdb debuger

2007-09-13 Thread Elahe Alipour
hi all I am trying to debug a program, but when I enter any command I get " No symbol table is loaded. Use the "file" command.' Could someone help ? regards, elahe - Check out the hottest 2008 models today at Yahoo! Autos.

[ns] segmentation fault

2007-09-12 Thread Elahe Alipour
Hello all, I wrote a new agent. this agent has a command{} which receives 6 arguments. I used the following line to pass the arguments to the command{}. "$ns at $now "$source-ad($j) ad-request $j $peak $error $standard-dev" but when I ran tcl script, I received this error: "segmentation faul

Re: [ns] installing ns2.29

2007-09-07 Thread Elahe Alipour
hi all i finally installed ns2.29 on FC6. i just used from ns2.29.3 instead of ns2.29 :-) and it installed without any error. in ns2.29 i received this error: "checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line

Re: [ns] Marck Grei's Tutorial

2007-09-07 Thread Elahe Alipour
hi Mukul, There is also another useful tutorial for beginners (it helped me alot). it is : "ns simulator for beginners" (2003). regards, elahe - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers

[ns] ns2.29 installing problem

2007-09-06 Thread Elahe Alipour
Hello everyone I installed ns 2.31 without any problem on centos5. but I couldn't install ns allinone 2.29 on it. i changed the version of linux to FC6 but can't install it again and i receive the same error. i received this error: *"checking system version (for dynamic loading)... .

[ns] video conference & PLR

2007-08-30 Thread Elahe Alipour
Dear ns-users, here I want to thank everyone that help me till now in my project.my thesis is progressing.( it is about call admission control in diffserv ) now again i have some questions and i hope that you answer to me. 1- what kind of traffic is used for video conference in ns. for e

[ns] segmentation fault

2007-08-22 Thread Elahe Alipour
Hello all, I wrote a new agent. this agent has a command{} which receives 6 arguments. I use the following line to pass the arguments to the command{}. "$ns at $now "$source-ad($j) ad-request $j $peak $error $standard-dev" but when I run my tcl script. I receive this error: "segmentat

[ns] no-slot{} default handler

2007-08-21 Thread Elahe Alipour
Hello all, I have encountered again a problem in NS2 which I have no clue about. i receive this error: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o188: no target for slot -1 _o188 type: Classifier/Hash/Dest content dump: classifier _o188 0 offs

[ns] floating point exception error

2007-08-12 Thread Elahe Alipour
Hi everyone, when I run my script, i received this error: "floating point exception" I understood that this error is related to calculating standard of deviation: "set standard_deviation [expr sqrt($variance)]" I traced variance and found that sometimes it's negative, but I c

[ns] ns 2.2x installing problem

2007-07-21 Thread Elahe Alipour
Hello everyone I installed ns 2.31 without any problem on centos5. but now I have a problem on installing ns allinone 2.28. At first i received this error: *"checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line 76

[ns] installing ns 2.28

2007-07-20 Thread Elahe Alipour
Hello I have a problem on installing ns allinone 2.28. after changing the configuration files : tcl: file tcl8.x.x/unix/tcl.m4. tk: file tk8.x.x/unix/tcl.m4. otcl: file otcl-1.x/configure.in. "system=MP-RAS-`awk ' { print $3 } '/etc/.relid`" , when I run autoconf I reci