[Ns-developers] buildbot failure in NsNam on fc10-g++-3.4.6
Tom Henderson
tomh at tomh.org
Wed Jun 3 07:41:10 PDT 2009
>-----Original Message-----
>From: Faker Moatamri [mailto:faker.moatamri at sophia.inria.fr]
>Sent: Wednesday, June 3, 2009 06:08 AM
>Cc: ns-developers at ISI.EDU
>Subject: Re: [Ns-developers] buildbot failure in NsNam on fc10-g++-3.4.6
>
>Hi all,
>The first problem that was causing some of the builds to fail on rahan
>was solved. Now we have another kind of errors which is due to treating
>warnings as errors:
>*linux with g++-3.4.6:*
>
>warnings being treated as errors
>../src/common/pcap-writer.cc: In member function ‘void ns3::PcapWriter::WriteWifiMonitorPacket(ns3::Ptr<const ns3::Packet>, uint16_t, uint32_t, bool, bool, double, double)’:
>../src/common/pcap-writer.cc:267: warning: passing `double' for converting 1 of `void ns3::PcapWriter::Write32(uint32_t)'
>../src/common/pcap-writer.cc:281: warning: passing `double' for converting 1 of `void ns3::PcapWriter::Write32(uint32_t)'
>../src/common/pcap-writer.cc:286: warning: passing `double' for converting 1 of `void ns3::PcapWriter::Write32(uint32_t)'
>
>
>*same error for linux with g++-4.0.4,g++-4.1.2*
>-----------------------------------------------
>A different problem with g++-4.2.4
>
>debug/bindings/python/ns3_module_helper.cc: In function ‘PyObject* _wrap_PyNs3YansWifiPhyHelper_EnablePcap__0(PyNs3YansWifiPhyHelper*, PyObject*, PyObject*, PyObject**)’:
>debug/bindings/python/ns3_module_helper.cc:10732: error: cannot call member function ‘void ns3::YansWifiPhyHelper::EnablePcap(std::string, uint32_t, uint32_t)’ without object
>debug/bindings/python/ns3_module_helper.cc: In function ‘PyObject* _wrap_PyNs3YansWifiPhyHelper_EnablePcap__1(PyNs3YansWifiPhyHelper*, PyObject*, PyObject*, PyObject**)’:
>debug/bindings/python/ns3_module_helper.cc:10758: error: cannot call member function ‘void ns3::YansWifiPhyHelper::EnablePcap(std::string, ns3::Ptr<ns3::NetDevice>)’ without object
>debug/bindings/python/ns3_module_helper.cc: In function ‘PyObject* _wrap_PyNs3YansWifiPhyHelper_EnablePcap__2(PyNs3YansWifiPhyHelper*, PyObject*, PyObject*, PyObject**)’:
>debug/bindings/python/ns3_module_helper.cc:10783: error: cannot call member function ‘void ns3::YansWifiPhyHelper::EnablePcap(std::string, std::string)’ without object
>debug/bindings/python/ns3_module_helper.cc: In function ‘PyObject* _wrap_PyNs3YansWifiPhyHelper_EnablePcap__3(PyNs3YansWifiPhyHelper*, PyObject*, PyObject*, PyObject**)’:
>debug/bindings/python/ns3_module_helper.cc:10807: error: cannot call member function ‘void ns3::YansWifiPhyHelper::EnablePcap(std::string, ns3::NetDeviceContainer)’ without object
>debug/bindings/python/ns3_module_helper.cc: In function ‘PyObject* _wrap_PyNs3YansWifiPhyHelper_EnablePcap__4(PyNs3YansWifiPhyHelper*, PyObject*, PyObject*, PyObject**)’:
>debug/bindings/python/ns3_module_helper.cc:10831: error: cannot call member function ‘void ns3::YansWifiPhyHelper::EnablePcap(std::string, ns3::NodeContainer)’ without object
>debug/bindings/python/ns3_module_helper.cc: In function ‘PyObject* _wrap_PyNs3YansWifiPhyHelper_EnablePcapAll(PyNs3YansWifiPhyHelper*, PyObject*, PyObject*)’:
>debug/bindings/python/ns3_module_helper.cc:11077: error: cannot call member function ‘void ns3::YansWifiPhyHelper::EnablePcapAll(std::string)’ without object
>debug/bindings/python/ns3_module_wifi.cc: In function ‘PyObject* _wrap_PyNs3WifiPhy_NotifyPromiscSniff(PyNs3WifiPhy*, PyObject*, PyObject*)’:
>debug/bindings/python/ns3_module_wifi.cc:18870: error: ‘class ns3::WifiPhy’ has no member named ‘NotifyPromiscSniff’
> [32mWaf: Leaving directory `/home/buildslave/slave/full-rahan-g++-4.2.4/build/build' [0m
>
>*Same error for g++-4.3.2 and for g++-4.4.0 and with mac osx*. Those two
>errors looks like *binding errors*, a simple fix is to update the python
>bindings.
>
These seem to be the signatures that would have changed due to Nicola's checkin. I'll rescan the bindings later today if no one is working on fixing that right now.
- Tom
More information about the Ns-developers
mailing list