[ns] How to compile the modified ns in Win dows XP?

2006-08-04 Thread pyramidal

Hi,
I install ns2.1b9a in Windows XP(without cygwin).After adding some new code(c++ 
and tcl code),
how to compile it to make the new function resultful?Does anyone know the 
compile command?
Thanks in advance!
Regards
Li An
  

[ns] [HELP]How to run ns script in Windows XP'scommand window?

2006-08-03 Thread pyramidal

Hi,

I installed ns-2.1b9a in the Windows XP successfully(I don't use cygwin,in that 
it turns out to

be a failure after two days' try ).However,it seems that ns example1a.tcl 
doesn't work which 

was copyed to the directory C:\NetSim\ns-2.1b9a.In addition, I input ns and 
then %

appears.But when I try ns exampe1a.tclagain,it says 

Warning:use bakward compatibility modebrerror when calling class 
OldSim:example1a.tcl

Does anyone know how to run the script in my computer?Thanks in advanc!

Regards

Li An
  

[ns] installation problem:miss files

2006-08-01 Thread pyramidal

 
Hello,
 
When I install ns-2.28,the following infomation displays:
 
luded from ./mac/channel.h:47,
 from ./mac/phy.h:60,
 from ./mac/mac.h:48,
 from trace/trace-ip.cc:39:
./mac/node.h:94:25: wired-flows.h: no that file or directory
In file included from ./mac/channel.h:47,
 from ./mac/phy.h:60,
 from ./mac/mac.h:48,
 from trace/trace-ip.cc:39:
./mac/node.h:201: error: ISO C++ forbids declaration of `SLList' with no type
./mac/node.h:201: error: expected `;' before '*' token
make: *** [trace/trace-ip.o] error 1
Ns make failed!
Any one would like to tell me where the problem lies?Thank you in advance!
 
Regards
 
Li An
 

[ns] what's wrong with nam?

2006-06-27 Thread pyramidal

Hi guys,
After the installation,I run a simple script exampe1a.tcl which is contained in 
ns-tutorial.However,the command window displays the followings:
 
ns: finish:couldn't excute nam:no such file or directory
while excuting
exec nam out.nam 
(procedure finish line 7)
 invoked from within
finish
 
Where does the problem lie?
Thanks in advance!