[ns] questions about creating a new agent

lihua@uwm.edu lihua at uwm.edu
Sat Feb 17 17:18:33 PST 2007


Hi,

I am new to ns. I want to create a broadcast agent. The following are what I
did:

1. write broadcast.cc and broadcast.h files and put into directory "broadcast".
2. modify ip.h, trace.h, Makefile, ns-compat.tcl, packet.h .
3. write test.tcl using the broadcast.

4 under ns-2.30/, run './configure' and 'make'.

I didn't see any error during the process, however when I run test.tcl, it tells
me that "Agent/broadcast" is not found.

My question here is that after I compile ns, should broadcast.o file be
generated? I didn't see this file in that folder? And what might cause the
'Agent/broadcast' not found? and how to fix it.

Thanks

Lihua




More information about the Ns-users mailing list