Ns-3.24-errata: Difference between revisions
(errata for ns-3.24) |
(update for ns-3.24.1) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{TOC}} | {{TOC}} | ||
'''Mac OS X''': Shortly after the ns-3.24 release, Xcode 7.0 was released by Apple. This framework causes build problems for ns-3. Until the problem is fixed in a new release, users who encounter problems should apply the patches and workarounds in https://www.nsnam.org/bugzilla/show_bug.cgi?id=2181 | |||
== Errata against ns-3.24.1 release == | |||
ns-3.24.1 was released on 30 September 2015 to address the issues listed below in the ns-3.24 errata. | |||
No further errata against the most recent ns-3.24.1 release have been posted. | |||
== Errata against ns-3.24 release == | |||
'''Mac OS X''': Shortly after the ns-3.24 release, Xcode 7.0 was released by Apple. This framework causes build problems for ns-3. Until the problem is fixed in a new release, users who encounter problems should apply the patches and workarounds in https://www.nsnam.org/bugzilla/show_bug.cgi?id=2181. This will be fixed in a ns-3.24 maintenance release. | |||
A workaround is to pass modified CXXFLAGS to the waf configure step; i.e. instead of configuring as: | |||
./waf configure --enable-examples --enable-tests | |||
instead type (all in one line): | |||
CXXFLAGS="-Wall -Werror -Wno-potentially-evaluated-expression -Wno-unused-local-typedefs" ./waf configure --enable-examples --enable-tests | |||
'''Python bindings detection''': Users of ns-allinone-3.24 release posted on Sept. 15 will not be able to automatically detect pybindgen and use Python features including the Pyviz visualizer. This will be fixed in a ns-3.24 maintenance release. There are three workarounds (choose one of the below solutions): | |||
1. Instead of | |||
./waf configure --enable-examples --enable-tests | |||
tell Waf explicitly how to find pybindgen with the --with-pybindgen option; e.g. | |||
./waf configure --enable-examples --enable-tests --with-pybindgen=../pybindgen-0.17.0.post41+ngd10fa60 | |||
2. create a symbolic link to pybindgen, or rename the directory to 'pybindgen'; e.g. | |||
cd ns-allinone-3.24 | |||
ln -s pybindgen-0.17.0.post41+ngd10fa60 pybindgen | |||
3. patch the ns-3.24 source code with this patch: http://code.nsnam.org/ns-3.24/rev/51263c7e64bb | |||
'''gcc-4.4.7 compilation on 32-bit Linux''' | |||
The following error was reported for gcc-4.4 on a 32-bit Linux system: | |||
../src/wifi/model/mac-low.cc:1665: error: integer constant is too large for ‘long’ type | |||
this can be fixed with this patch: http://code.nsnam.org/ns-3.24/rev/05ea1489e509 |
Latest revision as of 19:57, 30 September 2015
Main Page - Roadmap - Summer Projects - Project Ideas - Developer FAQ - Tools - Related Projects
HOWTOs - Installation - Troubleshooting - User FAQ - Samples - Models - Education - Contributed Code - Papers
Errata against ns-3.24.1 release
ns-3.24.1 was released on 30 September 2015 to address the issues listed below in the ns-3.24 errata.
No further errata against the most recent ns-3.24.1 release have been posted.
Errata against ns-3.24 release
Mac OS X: Shortly after the ns-3.24 release, Xcode 7.0 was released by Apple. This framework causes build problems for ns-3. Until the problem is fixed in a new release, users who encounter problems should apply the patches and workarounds in https://www.nsnam.org/bugzilla/show_bug.cgi?id=2181. This will be fixed in a ns-3.24 maintenance release.
A workaround is to pass modified CXXFLAGS to the waf configure step; i.e. instead of configuring as:
./waf configure --enable-examples --enable-tests
instead type (all in one line):
CXXFLAGS="-Wall -Werror -Wno-potentially-evaluated-expression -Wno-unused-local-typedefs" ./waf configure --enable-examples --enable-tests
Python bindings detection: Users of ns-allinone-3.24 release posted on Sept. 15 will not be able to automatically detect pybindgen and use Python features including the Pyviz visualizer. This will be fixed in a ns-3.24 maintenance release. There are three workarounds (choose one of the below solutions):
1. Instead of
./waf configure --enable-examples --enable-tests
tell Waf explicitly how to find pybindgen with the --with-pybindgen option; e.g.
./waf configure --enable-examples --enable-tests --with-pybindgen=../pybindgen-0.17.0.post41+ngd10fa60
2. create a symbolic link to pybindgen, or rename the directory to 'pybindgen'; e.g.
cd ns-allinone-3.24 ln -s pybindgen-0.17.0.post41+ngd10fa60 pybindgen
3. patch the ns-3.24 source code with this patch: http://code.nsnam.org/ns-3.24/rev/51263c7e64bb
gcc-4.4.7 compilation on 32-bit Linux
The following error was reported for gcc-4.4 on a 32-bit Linux system:
../src/wifi/model/mac-low.cc:1665: error: integer constant is too large for ‘long’ type
this can be fixed with this patch: http://code.nsnam.org/ns-3.24/rev/05ea1489e509