[Ns-developers] What's wrong with pybindgen in Cygwin?
Gustavo Carneiro
gjcarneiro at gmail.com
Thu Aug 28 04:59:39 PDT 2008
I don't have cygwin installed, but I couldn't reproduce with mingw / g++
3.4.5.
Can you send me the file build/debug/bindings/python/ns3_module_common.cc
(possibly compressed)? It might help me discover the problem...
Also, this is basically a bug report, bugzilla.nsnam.org is a better place
to submit bug reports.
2008/8/28 Weng Gavin <gavinweng at gmail.com>
> With the new rev 564 of pybindgen in Cygwin(Python 2.5.1), the errors are
> listed as following:
>
> [456/509] cxx: build/debug/bindings/python/ns3_module_common.cc ->
> build/debug/bindings/python/ns3_module_common_3.o
> debug/bindings/python/ns3_module_common.cc: In function `PyObject*
> _wrap_PyNs3ListErrorModel_GetList(PyNs3ListErrorModel*)':
> debug/bindings/python/ns3_module_common.cc:5571: error: no match for
> 'operator=' in 'retval = ns3::ListErrorModel::GetList() const()'
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/list.tcc:121: note:
> candidates are: std::list<_Tp, _Alloc>& std::list<_Tp,
> _Alloc>::operator=(const std::list<_Tp, _Alloc>&) [with _Tp = unsigned int,
> _Alloc = std::allocator<unsigned int>]
> debug/bindings/python/ns3_module_common.cc: In function `PyObject*
> _wrap_PyNs3ListErrorModel_SetList(PyNs3ListErrorModel*, PyObject*,
> PyObject*)':
> debug/bindings/python/ns3_module_common.cc:5589: error: no matching
> function for call to `ns3::ListErrorModel::SetList(std::list<unsigned int,
> std::allocator<unsigned int> >&)'
> debug/ns3/error-model.h:215: note: candidates are: void
> ns3::ListErrorModel::SetList(const std::list<uint32_t,
> std::allocator<uint32_t> >&)
> Build failed
> -> task failed (err #129):
> [bld:///cygdrive/d/Study/WirelessCommunication/NS-3/
> repos/ns-3-dev/bindings/python/ns3_module_common_3.o]
>
> How to solve it?
>
> Best wishes & kind regards from yours sincerely,
> Gavin Weng
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "ns-3-users" group.
> To post to this group, send email to ns-3-users at googlegroups.com
> To unsubscribe from this group, send email to
> ns-3-users+unsubscribe at googlegroups.com<ns-3-users%2Bunsubscribe at googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/ns-3-users?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list