ubuntu@mn:~/tarballs/ns-allinone-3.21/ns-3.21$ sudo ./waf
sudo: unable to resolve host mn
Waf: Entering directory `/home/ubuntu/tarballs/ns-allinone-3.21/ns-3.21/build'
[2048/2410] cxx: scratch/lte-flowepc.cc -> build/scratch/lte-flowepc.cc.10.o
../scratch/lte-flowepc.cc: In function ‘int main(int, char**)’:
../scratch/lte-flowepc.cc:135:14: error: ‘class ns3::LteHelper’ has no member named ‘ActivateEpsBearer’
lteHelper->ActivateEpsBearer (ueLteDevs, EpsBearer (EpsBearer::NGBR_VIDEO_TCP_DEFAULT), EpcTft::Default ());
^
In file included from ./ns3/object-factory.h:24:0,
from ./ns3/simulator.h:30,
from ./ns3/lte-helper.h:25,
from ../scratch/lte-flowepc.cc:21:
./ns3/object.h: In instantiation of ‘ns3::Ptr<T> ns3::CreateObject() [with T = ns3::EpcHelper]’:
../scratch/lte-flowepc.cc:61:56: required from here
./ns3/object.h:423:37: error: cannot allocate an object of abstract type ‘ns3::EpcHelper’
return CompleteConstruct (new T ());
^
In file included from ../scratch/lte-flowepc.cc:22:0:
./ns3/epc-helper.h:48:7: note: because the following virtual functions are pure within ‘ns3::EpcHelper’:
class EpcHelper : public Object
^
./ns3/epc-helper.h:75:16: note: virtual void ns3::EpcHelper::AddEnb(ns3::Ptr<ns3::Node>, ns3::Ptr<ns3::NetDevice>, uint16_t)
virtual void AddEnb (Ptr<Node> enbNode, Ptr<NetDevice> lteEnbNetDevice, uint16_t cellId) = 0;
^
./ns3/epc-helper.h:83:16: note: virtual void ns3::EpcHelper::AddUe(ns3::Ptr<ns3::NetDevice>, uint64_t)
virtual void AddUe (Ptr<NetDevice> ueLteDevice, uint64_t imsi) = 0;
^
./ns3/epc-helper.h:91:16: note: virtual void ns3::EpcHelper::AddX2Interface(ns3::Ptr<ns3::Node>, ns3::Ptr<ns3::Node>)
virtual void AddX2Interface (Ptr<Node> enbNode1, Ptr<Node> enbNode2) = 0;
^
./ns3/epc-helper.h:104:16: note: virtual void ns3::EpcHelper::ActivateEpsBearer(ns3::Ptr<ns3::NetDevice>, uint64_t, ns3::Ptr<ns3::EpcTft>, ns3::EpsBearer)
virtual void ActivateEpsBearer (Ptr<NetDevice> ueLteDevice, uint64_t imsi, Ptr<EpcTft> tft, EpsBearer bearer) = 0;
^
./ns3/epc-helper.h:115:21: note: virtual ns3::Ptr<ns3::Node> ns3::EpcHelper::GetPgwNode()
virtual Ptr<Node> GetPgwNode () = 0;
^
./ns3/epc-helper.h:124:34: note: virtual ns3::Ipv4InterfaceContainer ns3::EpcHelper::AssignUeIpv4Address(ns3::NetDeviceContainer)
virtual Ipv4InterfaceContainer AssignUeIpv4Address (NetDeviceContainer ueDevices) = 0;
^
./ns3/epc-helper.h:131:23: note: virtual ns3::Ipv4Address ns3::EpcHelper::GetUeDefaultGatewayAddress()
virtual Ipv4Address GetUeDefaultGatewayAddress () = 0;
^
In file included from ./ns3/object-factory.h:24:0,
from ./ns3/simulator.h:30,
from ./ns3/lte-helper.h:25,
from ../scratch/lte-flowepc.cc:21:
./ns3/object.h: In function ‘ns3::Ptr<T> ns3::CreateObject() [with T = ns3::EpcH
./ns3/object.h:424:1: error: control reaches end of non-void function [-Werror=r
}
^