Hi all,

I tried running the sample module of UDT which is available online  
(http://sourceforge.net/projects/dataspace) but after editing makefile.in, 
ns-deafualt.tcl, ns-packet.tcl and packet.h, I got the errors below. I would be 
grateful if anyone can enlighten me on how to solve the problem. Secondly, have 
anyone used UDT with TLS and can you recommend any TLS implementation?

........
In file included from project_dir/udt.cc:15:
project_dir/udt.h:185: error: a class-key must be used when declaring a friend
project_dir/udt.h:185: error: friend declaration does not name a class or 
function
project_dir/udt.h:186: error: a class-key must be used when declaring a friend
project_dir/udt.h:186: error: friend declaration does not name a class or 
function
project_dir/udt.h:187: error: a class-key must be used when declaring a friend
project_dir/udt.h:187: error: friend declaration does not name a class or 
function
project_dir/udt.h:188: error: a class-key must be used when declaring a friend
project_dir/udt.h:188: error: friend declaration does not name a class or 
function
project_dir/udt.h:189: error: a class-key must be used when declaring a friend
project_dir/udt.h:189: error: friend declaration does not name a class or 
function
project_dir/udt.h: In constructor ‘UdtAgent::UdtAgent()’:
project_dir/udt.h:205: warning: ‘UdtAgent::exp_timer_’ will be initialized after
project_dir/udt.h:201: warning:   ‘SndTimer UdtAgent::snd_timer_’
project_dir/udt.cc:39: warning:   when initialized here
project_dir/udt.cc: In member function ‘virtual void UdtAgent::recv(Packet*, 
Handler*)’:
project_dir/udt.cc:106: warning: unused variable ‘r’
project_dir/udt.cc: In member function ‘virtual void SndTimer::expire(Event*)’:
project_dir/udt.cc:432: error: ‘void UdtAgent::sendData()’ is protected
project_dir/udt.cc:562: error: within this context
project_dir/udt.cc: In member function ‘virtual void SynTimer::expire(Event*)’:
project_dir/udt.cc:493: error: ‘void UdtAgent::rateControl()’ is protected
project_dir/udt.cc:567: error: within this context
project_dir/udt.cc: In member function ‘virtual void AckTimer::expire(Event*)’:
project_dir/udt.cc:306: error: ‘void UdtAgent::sendCtrl(int, int, int*)’ is 
protected
project_dir/udt.cc:572: error: within this context
project_dir/udt.cc: In member function ‘virtual void NakTimer::expire(Event*)’:
project_dir/udt.cc:306: error: ‘void UdtAgent::sendCtrl(int, int, int*)’ is 
protected
project_dir/udt.cc:577: error: within this context
project_dir/udt.cc: In member function ‘virtual void ExpTimer::expire(Event*)’:
project_dir/udt.cc:548: error: ‘void UdtAgent::timeOut()’ is protected
project_dir/udt.cc:582: error: within this context
make: *** [project_dir/udt.o] Error 1
prom@Host2:~/src/ns-allinone-2.34/ns-2.34$ 

Thanks in advance.

Morp

Reply via email to