[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems installing the SOT sample files by Isidor Kouvelas in N
To those who have attempted to install the SOT belonging to Isidor
Kouvelas in his paper on 'Network Adaptive Continuous Media
Applications through self organised transcoding'.
I have changed most of the files in the SOT README file but I only
get this far. do you have any ideas why this might happen. I also
enclose a list of the various changes that I have made to the files
etc at the end of this.
here's the error message:
BDL=1 -I. -I../tclcl-1.0b8 -I../otcl-1.0a4 -I../tkbox/include
-I../tclbox/include -o sot.o sot.cc
In file included from sot.cc:17:
sot.h:24: parse error before `{'
sot.h:27: virtual outside class declaration
sot.h:29: virtual outside class declaration
sot.h:30: parse error before `protected'
sot.h:32: virtual outside class declaration
sot.h:33: virtual outside class declaration
sot.h:34: virtual outside class declaration
sot.h:35: virtual outside class declaration
sot.h:43: parse error before `}'
sot.cc: In method `class
TclObject * SOTAgentClass::create(int, const char *const *)':
sot.cc:59: invalid use of undefined type `class SOTAgent'
sot.cc:60: warning: control reaches end of non-void function
`SOTAgentClass::create(int, const char *const *)'
sot.cc: At top level:
sot.cc:86: no `SOTAgent::SOTAgent()' member function declared
in class `SOTAgent' sot.cc: In method `SOTAgent::SOTAgent()':
sot.cc:86: confused by earlier errors, bailing out
make: *** [sot.o]
Error 1 Ns make failed! Exiting ...
fair:~/ns-allinone-2.1b5>
________________________
To get this far I changed packet.h by adding:
#define PT_SOT "sot"
I changed tcl/lib/ns-packet.tcl to :
{ SOT off_sot_ }
I changed rtp.h to
double ntpts_;
and futher down I added
double& ntpts() { return (ntpts_); }
I also changed rtcp.cc :
In function RTCPAgent::sendpkt()
rh->ntpts() = Scheduler::instance().clock();
I added the following files to the ns Makefile :
sot.cc SOT implementation
transcode.cc Transcoder class
drop-tail-loss.cc Queues that do random drop and byte accounting
and I added the tcl files to ns-2/tcl/ex directory.
Thanks for your time
Regards
Kevin