[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Problem in adding a new class



Did you try to do a "make distclean" before
you recompiled?

Kun-chan Lan

On Thu, 18 Jan 2001, Laurent Silvio Ciavaglia wrote:

> Hello everyone,
> 
> I have implemented a new traffic generator in ns.
> (Application/Traffic/RTTraffic)
> I have one .cc file (RTTraffic.cc) which was inspired from expoo.cc
> 
> I have modified the Makefile.in with RTTraffic.o, the ns-default.tcl
> with correct values, and packet.h.
> I then run ./configure and make (also tried with make depend)
> 
> All went well, but when I try to use my new traffic generator in a
> simulation script,
> ns shows following error message :
> 
> invalid command name "Application/Traffic/RTTraffic"
> ...
> 
> 
> I have searched through the ns archives, found similar issues but never
> the answer.
> Any work around or tips are welcome.
> 
> Thanks in advance.
> Laurent C.
>