Dear all,

I have a question about compiling NS2.

When I replaced ../pgm/pgm-agent.cc with my own one, I recompile the source 
code and encountered the following error. 

trace/trace.cc: In member function `virtual void DequeTrace::recv(Packet*, 
Handler*)':
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

And my code had nothing with the file of trace.cc. Would you mind telling me 
the reason?

Thanks!




Mr. Fan Xiaopeng  
PHD Student
Department  of  Computing 
Hong  Kong  Polytechnic  University 
Hung  Hom,  Kowloon,  Hong  Kong

Reply via email to