<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.nsnam.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Ns-3.25-errata</id>
	<title>Ns-3.25-errata - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.nsnam.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Ns-3.25-errata"/>
	<link rel="alternate" type="text/html" href="https://www.nsnam.org/mediawiki/index.php?title=Ns-3.25-errata&amp;action=history"/>
	<updated>2026-04-20T19:17:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.nsnam.org/mediawiki/index.php?title=Ns-3.25-errata&amp;diff=9964&amp;oldid=prev</id>
		<title>Tomh: ns-3.25 errata</title>
		<link rel="alternate" type="text/html" href="https://www.nsnam.org/mediawiki/index.php?title=Ns-3.25-errata&amp;diff=9964&amp;oldid=prev"/>
		<updated>2016-05-03T22:48:34Z</updated>

		<summary type="html">&lt;p&gt;ns-3.25 errata&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TOC}}&lt;br /&gt;
&lt;br /&gt;
== Errata against ns-3.25 release ==&lt;br /&gt;
&lt;br /&gt;
With Python enabled, python version 3.5 or greater, the Python bindings will not compile without an error such as:&lt;br /&gt;
&lt;br /&gt;
  src/fd-net-device/bindings/ns3module.cc:2078:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]&lt;br /&gt;
&lt;br /&gt;
The problem is described more fully here:  https://www.nsnam.org/bugzilla/show_bug.cgi?id=2395&lt;br /&gt;
&lt;br /&gt;
This problem has been observed on Archlinux and Ubuntu 16.04 release.&lt;br /&gt;
&lt;br /&gt;
To workaround, choose one of the following options:&lt;br /&gt;
&lt;br /&gt;
1) disable python if not needed:&lt;br /&gt;
&lt;br /&gt;
  ./waf configure --disable-python ...&lt;br /&gt;
&lt;br /&gt;
2) On Ubuntu 16.04, download python and python-dev to obtain python2 version&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install python python-dev&lt;br /&gt;
&lt;br /&gt;
On Ubuntu 16.04, this will cause python2 to be invoked when the user types 'python'.&lt;br /&gt;
&lt;br /&gt;
3) run a python2 virtualenv (if python3 is still selected by default) or run the waf commands through python2; e.g.:&lt;br /&gt;
&lt;br /&gt;
  python2 ./waf configure ...&lt;br /&gt;
  python2 ./waf build&lt;br /&gt;
&lt;br /&gt;
4) manually patch your pybindgen according to [https://github.com/gjcarneiro/pybindgen/commit/ec55eb61103a647dc2d6a5ff725b6324e240aa7b this patch]&lt;/div&gt;</summary>
		<author><name>Tomh</name></author>
	</entry>
</feed>