[ns] file not recognized: File format not recognized error

2006-11-10 Thread Swalaxmi Pandit
Hi, After writing the code and saving the file by the name example1a.tcl in the tcl directory,when I try to run the program by giving the command, gcc -o example1a example1a.tcl I am getting the following error:- example1a.tcl: file not recognized: File format not recognized collect2: ld returned

[ns] Doubt regarding running cc program and NAM

2007-01-05 Thread Swalaxmi Pandit
Hi, I am trying to run a sample TCL program(example.tcl) in ns2. The program is running smoothly but I am unable to see the output in nam and xgraph. For NAM,it is showing couldn't execute "nam": no such file or directory. For xgraph,it is showing couldn't execute "xgraph": no such file or direct

[ns] Segmentation fault..........error

2007-01-08 Thread Swalaxmi Pandit
Hi, I tried 3 node example for adhoc simulation with DSDV. Time of simulation end is set to 60. When I ran this program,I got the following error:- segmentation fault How to rectify this error? I used set val(ifq) Queue/DropTail/PriQueue;#interface queue type This was not working