[ns] error: invalid use of undefined type

2006-08-13 Thread Mo Li
Hi all, I was trying to compile the ns2 package after changing a few lines in /mac/arp.cc. It gave the following errors: In file included from mac/channel.h:50, from mac/phy.h:60, from mac/mac.h:48,

[ns] Tcl not Interpreted Problem

2006-08-20 Thread Mo Li
Hi, I put the following tcl in a tcl script to change the up-target of LL in the movement of MH. By checking the contents of the created object, I am sure that all the objects have got the handlder to the non-NULL objects. ---TCL-- set nodeentry [$self entry] $selectedll

Re: [ns] I have a problem in simulation .... while the compilation is okay

2006-08-22 Thread Mo Li
Bilal AbuQadous wrote: > Dear ns-users; > > I use ns-allinone-2.29 under cygwin/winXP. > > I faced the following problem after changing the MAC in ns2.29. > > during the simulation I got the follwoing Error: > > Scheduler: Event UID not valid! > > the code is here ( I made the changes just in the

Re: [ns] I have a problem in simulation .... while the compilation is okay

2006-08-23 Thread Mo Li
I reckon a new event ID is assigned every time you schedule an event. You can create a new packet and have it sent down in Mac. Kind Regards, Mo On Wed, 23 Aug 2006 04:28:26 +1000, Bilal AbuQadous <[EMAIL PROTECTED]> wrote: > First of all; thank you (*Mo Li* )for your response. &

Re: [ns] installation problem Linux X86_64

2006-08-28 Thread Mo Li
Hi Ivan, I was also trying to install the ns 2.29 on 64bit Linux, but failed on installing. I checked some old threads, and somebody mentioned it needs to include some changes in the Makefiles. Probably you can try on that. I was working on Redhat, and the "install" script without any change

Re: [ns] Installation problem Linux x86_64

2006-09-03 Thread Mo Li
Hi Ivan, sorry for late. Please check this link: http://mailman.isi.edu/pipermail/ns-users/2004-June/043180.html for this problem. Just hope it could be of any help. It's too long to remember the details about my last installation on 64bits platform. You can try the Makefile under ns-2.29/

[ns] What triggers dump() function?

2006-09-10 Thread Mo Li
Hi all, Does anybody know what could trigger dump() function in the C++ objects, such as Phy or WirelessPhy? I was just trying to define a function in Phy. But, don't know why the dump() of Phy is always executed each time before the defined function. Thanks a lot! Mo