Hello , I'm using your file , simple put in scratch and run main.cc with the help of ./waf , but face some error like-
scratch/main.cc.30.o: In function `ns3::Ptr<QosController> ns3::CreateObject<QosController>()':
/home/sdn/NS3/ns-3-allinone/ns-3-dev/build/./ns3/object.h:530: undefined reference to `QosController::QosController()'
scratch/main.cc.30.o: In function `ns3::Ptr<QosController> ns3::CompleteConstruct<QosController>(QosController*)':
/home/sdn/NS3/ns-3-allinone/ns-3-dev/build/./ns3/object.h:512: undefined reference to `QosController::GetTypeId()'
collect2: error: ld returned 1 exit status