Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

/ home / bg / ns - allinone - 3 . 3 6 . 1 / ns - 3 . 3 6 . 1 /

/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc: In member function virtual ns3::Ptr ns3::HybridRoutingProtocol::RouteOutput(ns3::Ptr, const ns3::Ipv4Header&, ns3::Ptr, ns3::Socket::SocketErrno&):
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:30:32: error: AodvRoutingProtocol has not been declared
30| Ptr aodvRoute = AodvRoutingProtocol::RouteOutput(p, header, oif, sockerr);
|^~~~~~~~~~~~~~~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:31:32: error: OlsrRoutingProtocol has not been declared
31| Ptr olsrRoute = OlsrRoutingProtocol::RouteOutput(p, header, oif, sockerr);
|^~~~~~~~~~~~~~~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:39:24: error: class ns3::Ipv4Route has no member named GetHop
39| if (aodvRoute->GetHop()< olsrRoute->GetHop()){
|^~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:39:46: error: class ns3::Ipv4Route has no member named GetHop
39| if (aodvRoute->GetHop()< olsrRoute->GetHop()){
|^~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc: In member function virtual bool ns3::HybridRoutingProtocol::RouteInput(ns3::Ptr, const ns3::Ipv4Header&, ns3::Ptr, ns3::Ipv4RoutingProtocol::UnicastForwardCallback, ns3::Ipv4RoutingProtocol::MulticastForwardCallback, ns3::Ipv4RoutingProtocol::LocalDeliverCallback, ns3::Ipv4RoutingProtocol::ErrorCallback):
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:50:32: error: AodvRoutingProtocol has not been declared
50| Ptr aodvRoute = AodvRoutingProtocol::RouteInput(p, header, idev, ucb, mcb, lcb, ecb);
|^~~~~~~~~~~~~~~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:51:32: error: OlsrRoutingProtocol has not been declared
51| Ptr olsrRoute = OlsrRoutingProtocol::RouteInput(p, header, idev, ucb, mcb, lcb, ecb);
|^~~~~~~~~~~~~~~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:59:24: error: class ns3::Ipv4Route has no member named GetHop
59| if (aodvRoute->GetHop()< olsrRoute->GetHop()){
|^~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:59:46: error: class ns3::Ipv4Route has no member named GetHop
59| if (aodvRoute->GetHop()< olsrRoute->GetHop()){
|^~~~~~
In file included from /home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/object-base.h:23,
from /home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/chunk.h:24,
from /home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/header.h:24,
from /home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/packet.h:25,
from /home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/ipv4-routing-protocol.h:21,
from /home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/hybridrouting.h:6,
from /home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:3:
/home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/type-id.h: In instantiation of static ns3::ObjectBase* ns3::TypeId::AddConstructor()::Maker::Create()[with T = ns3::HybridRoutingProtocol]:
/home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/type-id.h:647:3: required from ns3::TypeId ns3::TypeId::AddConstructor()[with T = ns3::HybridRoutingProtocol]
/home/bg/ns-allinone-3.36.1/ns-3.36.1/contrib/hybridrouting/model/hybridrouting.cc:15:47: required from here
/home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/type-id.h:644:27: error: invalid new-expression of abstract class type ns3::HybridRoutingProtocol
644| ObjectBase * base = new T ();
|^~~~~~~~
/home/bg/ns-allinone-3.36.1/ns-3.36.1/build/include/ns3/hybridrouting.h:11:7: note: because the following virtual functions are pure within ns3::HybridRoutingProtocol:
11| class HybridRoutingProtocol : public Ipv4RoutingProtocol {

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

Write the Roman numeral as a HinduArabic numeral. XXXVI

Answered: 1 week ago

Question

What were the reasons for their resistance?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago