[ns] how to compile after implementing a new protocol
Shantidev Mohanty
shanti at ece.gatech.edu
Thu May 6 11:19:10 PDT 2004
>
> Then, from ns-2.26/ , i did
>
> configure
To my knowledge 'configure' is not required..
after u make changes..go to
ns-2.26/
and execute 'make'
thats shoule be enough
>
> after that
>
> make depend
>
> and finally
>
> make
>
> To test it i used the script from Tutorial as well,
> just replacing "Ping" for "hbh".
> Then when i tried
>
> ns hbh.tcl
> I got the following error:
>
> invalid command name "Agent/hbh"
> while executing
> "Agent/hbh instproc recv {from rtt} {
> $self instvar node_
> puts "node [$node_ id] received ping answer
> from \
> $from with round-trip-time..."
> (file "hbh.tcl" line 27)
>
>
> When i was looking for why there is no Agent/hbh i
> saw there is no compiled file <hbh.o> that's why i
> gues the problem is about compilation or make process.
>
>
>
> Can anybody help me?
>
> HOW CAN I COMPILE THIS FILE <hbh.c> ?
>
>
> I´m working with Linux 2.4.-20-8smp and Red Hat 9.
>
> Thanks in advance.
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
More information about the Ns-users
mailing list