Bugzilla – Bug 936
Waf build error for python bindings on "AccessClass"
Last modified: 2010-06-04 19:34:25 UTC
Change Wi-Fi "AccessClass" to "AcIndex" and change "EdcsTxopN::SetAccessClass" to "EdcsTxopN::SetAccessCategory" (Bug #910) are not included in python bindings. Building latest ns-3-dev under Linux (ubuntu 9.10, x64) results the following error: ... [1074/1203] cxx: build/debug/bindings/python/ns3_module_wifi.cc -> build/debug/bindings/python/ns3_module_wifi_3.o debug/bindings/python/ns3_module_wifi.cc: In function ‘PyObject* _wrap_ns3QosUtilsMapTidToAc(PyObject*, PyObject*, PyObject*)’: debug/bindings/python/ns3_module_wifi.cc:122: error: ‘AccessClass’ is not a member of ‘ns3’ ... Suggested fix: Update file ns3_module_mesh.py, ns3_module_wifi.py, ns3_module_helper.py in /bindings/python/apidefs/gcc-ILP32/ and /bindings/python/apidefs/gcc-ILP64/
(In reply to comment #0) > Change Wi-Fi "AccessClass" to "AcIndex" and change "EdcsTxopN::SetAccessClass" > to "EdcsTxopN::SetAccessCategory" (Bug #910) are not included in python > bindings. > > Building latest ns-3-dev under Linux (ubuntu 9.10, x64) results the following > error: > ... > [1074/1203] cxx: build/debug/bindings/python/ns3_module_wifi.cc -> > build/debug/bindings/python/ns3_module_wifi_3.o > debug/bindings/python/ns3_module_wifi.cc: In function ‘PyObject* > _wrap_ns3QosUtilsMapTidToAc(PyObject*, PyObject*, PyObject*)’: > debug/bindings/python/ns3_module_wifi.cc:122: error: ‘AccessClass’ is not a > member of ‘ns3’ > ... > > Suggested fix: > Update file ns3_module_mesh.py, ns3_module_wifi.py, ns3_module_helper.py in > /bindings/python/apidefs/gcc-ILP32/ and /bindings/python/apidefs/gcc-ILP64/ I just committed a python scan that should do the trick. Please close if you can build now.