Ns-3.42 errata: Difference between revisions

From Nsnam
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
Another solution is to avoid use of 802.11b entirely and use another standard.  There is an [https://gitlab.com/nsnam/ns-3-dev/-/issues/1095 open issue] to fix this in the mainline.
Another solution is to avoid use of 802.11b entirely and use another standard.  There is an [https://gitlab.com/nsnam/ns-3-dev/-/issues/1095 open issue] to fix this in the mainline.


== Minimum supported Apple Clang compiler should be 13.1.6 instead of 12 ==
== Minimum supported Apple Clang compiler should be 13.1.6 instead of 11 ==


In 3.42 we replaced some code with the std::bind_front function. This causes the ns-3 build to fail under Apple Clang 12, as reported in [https://gitlab.com/nsnam/ns-3-dev/-/issues/1099 issue].
In 3.42 we replaced some code with the std::bind_front function. This causes the ns-3 build to fail under Apple Clang 11, as reported in [https://gitlab.com/nsnam/ns-3-dev/-/issues/1099 issue].


According to the Cppreference support page, [https://en.cppreference.com/w/cpp/compiler_support/20 Apple Clang 13.1.6 (shipped with Xcode 13.3)] is supported. We recommend updating Xcode.
According to the Cppreference support page, [https://en.cppreference.com/w/cpp/compiler_support/20 Apple Clang 13.1.6 (shipped with Xcode 13.3)] is supported. We recommend updating Xcode.

Revision as of 11:42, 15 June 2024

On May 29, 2024, ns-3.42 was published. This page lists some issues that have been fixed in the mainline since that time. If considered impactful enough, the maintainers may make an update to this release to cover some or all of these issues.

examples/routing/manet-routing-compare.cc produces no output

The example program 'manet-routing-compare.cc' runs but produces no output. This is due to a bug preventing use of DSSS rates 5.5 and 11 Mbps. The workaround is to avoid these rates:

diff --git a/examples/routing/manet-routing-compare.cc b/examples/routing/manet-routing-compare.cc
index a105ab0d2..e1dee99e0 100644
--- a/examples/routing/manet-routing-compare.cc
+++ b/examples/routing/manet-routing-compare.cc
@@ -247,7 +247,7 @@ RoutingExperiment::Run()
 
     double TotalTime = 200.0;
     std::string rate("2048bps");
-    std::string phyMode("DsssRate11Mbps");
+    std::string phyMode("DsssRate2Mbps");
     std::string tr_name("manet-routing-compare");
     int nodeSpeed = 20; // in m/s
     int nodePause = 0;  // in s

Another solution is to avoid use of 802.11b entirely and use another standard. There is an open issue to fix this in the mainline.

Minimum supported Apple Clang compiler should be 13.1.6 instead of 11

In 3.42 we replaced some code with the std::bind_front function. This causes the ns-3 build to fail under Apple Clang 11, as reported in issue.

According to the Cppreference support page, Apple Clang 13.1.6 (shipped with Xcode 13.3) is supported. We recommend updating Xcode.