LINUX programming

Moderators: ITA
Number of threads: 1339
Number of posts: 2924

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
how to compile and run a tcl script in ns-2 Posted by mini123 on 31 Oct 2008 at 10:35 AM
Hello all,

I am new to linux & ns-2 simulator. I am using RedHat 9.0 and ns-2.33. I got a code for ad-hoc routing and tried running it giving command "tclsh" and my file name, but it gave error as:

invalid command name new
while executing
"new Simulator"
invoked from within "set ns_ [new Simulator]"

can anybody plz help me with this? Am I using the wrong command? I just wrote this code and tried running it. Am I supposed to write anything else in any other file? What is the command to compile? and to execute?

This is very urgent. Plz help

Thanks



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.