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

[ns] Problem with Tutorial



Dear NS-USERS,

I am a new NS user and  I am trying to execute the examples of the tutorial developed for Jae Chung (http://nile.wpi.edu/NS /), and when trying to re-compile NS for the creation of the files mm-app.o and udp-mm.o, through the command MAKE, as it consists in the item 4.3 (Add New Application and Agent) they happened the following mistakes:  
 
udp-mm.cc: In method `UdpMmAgent::UdpMmAgent(int)':
udp-mm.cc:41: no matching function for call to `UdpAgent::UdpAgent (int &)'
udp.h:39: candidates are: UdpAgent::UdpAgent(const UdpAgent &)
udp.h:34:                 UdpAgent::UdpAgent()
udp.h:35:                 UdpAgent::UdpAgent(packet_t)
udp-mm.cc: In method `void UdpMmAgent::sendmsg(int, const char * = 0)':
udp-mm.cc:69: `off_rtp_' undeclared (first use this function)
udp-mm.cc:69: (Each undeclared identifier is reported only once
udp-mm.cc:69: for each function it appears in.)
udp-mm.cc:84: `off_ip_' undeclared (first use this function)
udp-mm.cc: In method `void UdpMmAgent::recv(class Packet *, class Handler *)':
udp-mm.cc:101: confused by earlier errors, bailing out
make: *** [udp-mm.o] Error 1 

What did anybody already use this tutorial, does it can me to help?  
  
Thank you very much,  
  
Sobral. 




-----------------------------------
Visite: http://www.email.com.br 
O melhor servi�o de webmail gratuito.