Error When Calling Class Oldsim Simple.tcl
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software 1 error when calling class OldSim: User Name Remember Me? Password Linux - Software This 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. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now 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. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 12-29-2009, 05:43 AM #1 Makrand Naik LQ Newbie Registered: Dec 2009 Posts: 1 Rep: 1 error when calling class OldSim: hi i need to know how to run a tcl script on ns 2-30 ive installed it on fedora 9 the installation was succeessfull and i have also set the path of the variables correctly
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up TCL file not found by NS2 in MAC OS X Mavericks up vote 1 down http://www.linuxquestions.org/questions/linux-software-2/1-error-when-calling-class-oldsim-778662/ vote favorite I have just installed NS2 on Mac OS X Mavericks (10.9) I have set all the paths correctly. I can successfully type 'ns' on the terminal, and 'nam' as well, and both execute without any problem. The problem is that when I input a file to the ns command, it says: couldn't read file "example.tcl": no such file or directory I use this command in the terminal: ns http://stackoverflow.com/questions/25268543/tcl-file-not-found-by-ns2-in-mac-os-x-mavericks example.tcl I also tried it running it in sudo mode: sudo -s ns example.tcl I placed the file in the bin folder, where there's ns's shortcut, I also placed it where actually the ns is. I also tried giving it a full path to the tcl file, but no use in both the cases. I also tried to run it after executing only ns first, and then within ns ran it (No idea if it works like this, I am just trying everything I have got!) ns %ns example.tcl (Hash sign shows the NS is running and I am typing the command there) This time the error is: warning: using backward compatibility mode error when calling class OldSim: hello-ddos.tcl The version of NS is 2.35. NOTE: I changed the file extension from .tcl to .txt, and it works fine now. Any idea of the problem? Please help! osx tcl ns2 share|improve this question edited Aug 12 '14 at 16:30 asked Aug 12 '14 at 15:40 nullpointer 769 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote The error message: couldn't read file "example.tcl": no such file or directory is pretty clear. It simply couldn't find the file; the OS returned an ENOENT error from t
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community https://ubuntuforums.org/showthread.php?t=1233271 Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User https://www.gidforums.com/t-11746.html?page=6 Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Other Discussion and Support Education & Science ns2 error in running tcl files after error when successful installation Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 5 of 5 Thread: ns2 error in running tcl files after successful installation Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode error when calling Switch to Threaded Mode August 6th, 2009 #1 yasirimteyaz View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Nov 2008 Beans 8 ns2 error in running tcl files after successful installation Hi,everyone. I got a problem about running NS2 (2.33) on Ubuntu 9.04. It got installed successfully without any errors. I set-up all the PATHS. after $ ns, i am getting the % sign but when I enter the "ns simple.tcl" command ,the shell show this error below: (_o5 cmd line 1) invoked from within "_o5 cmd at 1 “puts “Hello World!””" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o5" line 2) (SplitObject unknown line 2) invoked from within "_o5 at 1 “puts “Hello World!””" ("eval" body line 1) invoked from within "eval $scheduler_ at $args" (procedure "_o3" line 3) (Simulator at line 3) invoked from within "$ns at 1 “puts \“Hello World!\””" (file "simple.tcl" li
7 < 12345 6 7 > Thread Tools Search this Thread Rate Thread #51 26-Mar-2008, 05:49 ArturoD Awaiting Email Confirmation Join Date: Mar 2008 Location: Kumamoto, Japan Posts: 12 Re: run script command on ns2.26 Hello Dave Thank you for your prompt answer, I re-install my system this weeken and I included all the development packages and tools, so I hope this will help a little in the installation process, here are the results that I found: In the directory ns.../sgb I didn't have the file libgb.a file, so I performed make tests in the process I found that there were several warnings like: Quote: ...... cc -g -I/usr/local/sgb/include -DDATA_DIRECTORY=\"/usr/local/sgb/data/\" -c gb_io.c ./gb_io.w: In function ‘imap_chr’: ./gb_io.w:194: warning: incompatible implicit declaration of built-in function ‘strlen’ ./gb_io.w: In function ‘imap_ord’: ./gb_io.w:201: warning: comparison is always false due to limited range of data type ./gb_io.w: In function ‘gb_r_open’: ./gb_io.w:457: warning: incompatible implicit declaration of built-in function ‘strlen’ ./gb_io.w: In function ‘gb_open’: ./gb_io.w:467: warning: incompatible implicit declaration of built-in function ‘strncpy’ ./gb_io.w:502: warning: incompatible implicit declaration of built-in function ‘strlen’ ./gb_io.w: In function ‘gb_close’: ./gb_io.w:542: warning: incompatible implicit declaration of built-in function ‘strlen’ ............. ./gb_graph.w: In function ‘gb_nugraph’: ./gb_graph.w:455: warning: incompatible implicit declaration of built-in function ‘strcpy’ ./gb_graph.w: In function ‘make_compound_id’: ./gb_graph.w:492: warning: incompatible implicit declaration of built-in function ‘strlen’ ./gb_graph.w:494: warning: incompatible implicit declaration of built-in function ‘strcpy’ ./gb_graph.w: In function ‘make_double_compound_id’: ./gb_graph.w:508: warning: incompatible implicit declaration of built-in function ‘strlen’ ............. ./gb_basic.w: In function ‘board’: ./gb_basic.w:277: warning: incompatible implicit declaration of built-in function ‘strcpy’ ./gb_basic.w: In function ‘simplex’: ./gb_basic.w:543: warning: incompatible implicit declaration of built-in function ‘strcpy’ ./gb_basic.w: In function ‘subsets’: ./