Dear Sir
I am using ns-2.31 under cygwin and I have been trying to extend it
with the leach extension
developed for ns-2.27.
after following the procedure specified in the pfd document that
comes with it I got the following error:
trace/trace.cc: In static member function `static int
Trace::get_seqno(Packet*)'
:
trace/trace.cc:206: error: `PT_XCP' undeclared (first use this
function)
trace/trace.cc:206: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
trace/trace.cc: In member function `virtual void
DequeTrace::recv(Packet*, Handl
er*)':
trace/trace.cc:567: warning: int format, nsaddr_t arg (arg 5)
trace/trace.cc:567: warning: int format, nsaddr_t arg (arg 6)
trace/trace.cc:586: warning: int format, nsaddr_t arg (arg 5)
trace/trace.cc:586: warning: int format, nsaddr_t arg (arg 6)
make: *** [trace/trace.o] Error 1
I do not know what is wrong, and I wonder if I have to install
ns-2.27, but I tried to install it but it did not work.
I am grateful for your help
Regards
Anas
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.