Re: [ns] Problem with .o files

2006-08-09 Thread Prashant Batra
the Makefile, please do not run the 'configure' file again. Just do 'make' and 'make install' Regards, Prashant Batra Aleksandar Smolovic wrote: Hi all, I have file.cc and file.h and I put that in for example ~/tcp/file.cc and ~/tcp/file.h. Now I make neccesary modifications and among

Re: [ns] installation problems with otcl-1.11

2006-08-09 Thread Prashant Batra
X11 related packages / headers and install them. Once the headers are installed, the installation should (hopefully) run smoothly !! Good Luck !! Regards, Prashant Batra jaime venzala wrote: I working with fedora core5 and i tried to install ns-allinone-2.29.3. Everythings was ok untill otcl

Re: [ns] OTCL-Linkage

2006-08-09 Thread Prashant Batra
of your situation, even though it will be much better and smarter, if you are able to find the way of accessing objects created in your TCL script, in the C++ code !! Hope this helps. Regards, Prashant Batra Jana Henniger wrote: I’m new to ns-2 and C++ and need help concerning OTCL-Linkage. I’ve

Re: [ns] help: ns-eurane install worng

2006-08-18 Thread Prashant Batra
Hi, To get it working, you should enter into the NS Directory and then fire the same command i.e. patch -p1 Path to your Diff File - Prashant 袁旭 wrote: I installed the ns-allinone-2.28 in linux of ubuntu6.06

Re: [ns] Accessing object created in Tcl from C++

2006-08-18 Thread Prashant Batra
Hi Shafiq, To access a variable declared in your TCL script, you can use the following method :- Tcl tcl = Tcl::instance(); tcl.lookup(char* s); The 'lookup()' function of Tcl class takes a pointer to the name of the variable in the TCL script and returns you a TclObject class object, which

Re: [ns] Accessing object created in Tcl from C++

2006-08-21 Thread Prashant Batra
it doesnot give any errors. The wired scripts also work. But when i try with wireless scripts it gives either segmentation fault or event UID not found error. Why it is so. Can you help me out Vijay On Fri, 18 Aug 2006 Prashant Batra wrote : Hi Shafiq, To access a variable declared