On 01/15/2016 11:13 PM, piyush ingole wrote:
> Hello Sir,
> I am working on Vertical handover, I have installed Ns-3.19 on ubuntu 14.04.
> my work is on Media Independent Handover, for that I found one patch as
> ns-3-mih-28fa9f559bf5.
>
> but while installing it is giving error
> sudo ./waf
>
> *../src/core/log.cc: In member function ‘bool
> ns3::LogComponent::IsNoneEnabled() const’:
> ../src/core/log.cc:231:1: warning: control reaches end of non-void
> function [-Wreturn-type]
> }
> ^
> Build failed
> -> task failed (err #1):
> {task: cxx log.cc -> log_1.o}
> How this can be solved ?
The MIH code you are referring to is based on ns-3.3; see:
http://code.nsnam.org/salumu/ns-3-mih/tags
As Konstantinos said in a previous reply to this thread, it will require
a lot of porting to get the code to compile with ns-3.19 or ns-3.24.
Many of the APIs have changed since ns-3.3.
- Tom