Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ home / bg / ns - allinone - 3 . 3 6 . 1 / ns - 3 . 3 6 . 1 /
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc: In member function virtual ns::Ptr ns::HybridRoutingProtocol::RouteOutputns::Ptr const ns::IpvHeader& ns::Ptr ns::Socket::SocketErrno&:
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: AodvRoutingProtocol has not been declared
Ptr aodvRoute AodvRoutingProtocol::RouteOutputp header, oif, sockerr;
~~~~~~~~~~~~~~~~~~
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: OlsrRoutingProtocol has not been declared
Ptr olsrRoute OlsrRoutingProtocol::RouteOutputp header, oif, sockerr;
~~~~~~~~~~~~~~~~~~
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: class ns::IpvRoute has no member named GetHop
if aodvRouteGetHop olsrRouteGetHop
~~~~~
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: class ns::IpvRoute has no member named GetHop
if aodvRouteGetHop olsrRouteGetHop
~~~~~
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc: In member function virtual bool ns::HybridRoutingProtocol::RouteInputns::Ptr const ns::IpvHeader& ns::Ptr ns::IpvRoutingProtocol::UnicastForwardCallback, ns::IpvRoutingProtocol::MulticastForwardCallback, ns::IpvRoutingProtocol::LocalDeliverCallback, ns::IpvRoutingProtocol::ErrorCallback:
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: AodvRoutingProtocol has not been declared
Ptr aodvRoute AodvRoutingProtocol::RouteInputp header, idev, ucb, mcb lcb ecb;
~~~~~~~~~~~~~~~~~~
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: OlsrRoutingProtocol has not been declared
Ptr olsrRoute OlsrRoutingProtocol::RouteInputp header, idev, ucb, mcb lcb ecb;
~~~~~~~~~~~~~~~~~~
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: class ns::IpvRoute has no member named GetHop
if aodvRouteGetHop olsrRouteGetHop
~~~~~
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: error: class ns::IpvRoute has no member named GetHop
if aodvRouteGetHop olsrRouteGetHop
~~~~~
In file included from homebgnsallinonensbuildincludensobjectbase.h:
from homebgnsallinonensbuildincludenschunkh:
from homebgnsallinonensbuildincludensheaderh:
from homebgnsallinonensbuildincludenspacketh:
from homebgnsallinonensbuildincludensipvroutingprotocol.h:
from homebgnsallinonensbuildincludenshybridroutingh:
from homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::
homebgnsallinonensbuildincludenstypeidh: In instantiation of static ns::ObjectBase ns::TypeId::AddConstructor::Maker::Createwith T ns::HybridRoutingProtocol:
homebgnsallinonensbuildincludenstypeidh::: required from ns::TypeId ns::TypeId::AddConstructorwith T ns::HybridRoutingProtocol
homebgnsallinonenscontribhybridroutingmodelhybridroutingcc::: required from here
homebgnsallinonensbuildincludenstypeidh::: error: invalid newexpression of abstract class type ns::HybridRoutingProtocol
ObjectBase base new T ;
~~~~~~~
homebgnsallinonensbuildincludenshybridroutingh::: note: because the following virtual functions are pure within ns::HybridRoutingProtocol:
class HybridRoutingProtocol : public IpvRoutingProtocol
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started