[Ns-bugs] [Bug 506] New: Bindings won't compile
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Fri Feb 20 13:32:01 PST 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=506
Summary: Bindings won't compile
Product: ns-3
Version: ns-3-dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: python bindings
AssignedTo: ns-bugs at isi.edu
ReportedBy: raj.b at gatech.edu
Estimated Hours: 0.0
I used allinone, which informed me it was getting pybindgen version:
0.10.0.626. Looking at the hg status after python-scanning a fresh ns-3-dev
tree gives me a list of modified bindings files (M
bindings/python/ns3_module*.py).
Trying to build with the new bindings however gives a c++ error:
debug/bindings/python/ns3_module_helper.cc: In function ‘PyObject*
_wrap_PyNs3MobilityHelper_SetPositionAllocator__1(PyNs3MobilityHelper*,
PyObject*, PyObject*, PyObject**)’:
debug/bindings/python/ns3_module_helper.cc:3382: error: call of overloaded
‘SetPositionAllocator(std::string)’ is ambiguous
How to recreate:
hg clone http://code.nsnam.org/ns-3-allinone
cd ns-3-allinone
./download.py
cd ns-3-dev
./waf configure
./waf --python-scan
./waf
Relevent Platform Info:
architecture : x86
distro : Ubuntu 8.04
ns-3-dev version : 4199:761a6ee97850
pybindgen version : 0.10.0.626
pygccxml version : 0.9.5
gccxml version : 0.9.0
g++ version : 4.2.4
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list