Bugzilla – Bug 629
Wimax doesn't compile with gcc-4.3.x and gcc-4.4.x versions
Last modified: 2009-08-07 03:29:59 UTC
two errors comes out when we compile with those versions of gcc: First one is easy to fix: from debug/ns3/wimax-ss-net-device.h:30, from debug/ns3/wimax-bs-net-device.h:30, from ../src/helper/wimax-helper.h:30, from ../src/helper/wimax-helper.cc:23: debug/ns3/IPCS_Bind_parameter_manager.h:40: error: multiple parameters named ‘src_ip_adr’ Waf: Leaving directory `/auto/elvis/u/elvis/1/user/fmoatamr/src/wimax/build' and the second one is harder to fix: debug/ns3/make-event.h: In member function ‘void ns3::MakeEvent(MEM, OBJ, T1, T2, T3)::EventMemberImpl3::Notify() [with MEM = void (ns3::WimaxSubscriberStationNetDevice::*)(uint8_t, uint16_t, ns3::Ptr<ns3::WimaxConnection>, ns3::MacHeaderType::HeaderType), OBJ = ns3::WimaxSubscriberStationNetDevice*, T1 = unsigned char, T2 = short unsigned int, T3 = ns3::Ptr<ns3::WimaxConnection>]’: ../src/devices/wimax/wimax-ss-net-device.cc:1059: instantiated from here debug/ns3/make-event.h:167: error: too few arguments to function
For the first problem it was easy to fix, just replace src_ip_adr by dst_ip_adr For the second error it seemed a bit complicated since the error doesn't say where the problem is, as usual with C++. Finally I found that there is a Simulator::Schedule call to SendBurst function that was missing one operand, Amine, can you please check the patch (it's short) and push it to your repository?
Created attachment 519 [details] Correct the template call to sendBurst with Simulator::Schedule