fix the optimized build issue of Bug 2129
authorHajime Tazaki <tazaki@sfc.wide.ad.jp>
Tue, 02 Jun 2015 08:41:54 +0900
changeset 670 10182d62e5ae
parent 669 cb779a3844be
child 671 76d592639917
fix the optimized build issue of Bug 2129 when module dependenceis miss the 'internet' module, the example crashed due to missing Attribute ns3::TcpSocket::SegmentSize, as follows. msg="Could not set default value for ns3::TcpSocket::SegmentSize", file=../src/core/model/config.cc, line=688 terminate called without an active exception
wscript
--- a/wscript	Mon Jun 01 14:24:27 2015 +0900
+++ b/wscript	Tue Jun 02 08:41:54 2015 +0900
@@ -427,7 +427,7 @@
                        target='bin/dce-iperf-mptcp',
                        source=['example/dce-iperf-mptcp.cc'])
 
-    module.add_example(needed = ['core', 'network', 'dce', 'point-to-point', 'mobility'],
+    module.add_example(needed = ['core', 'internet', 'network', 'dce', 'point-to-point', 'mobility'],
                        target='bin/dce-iperf-heterogeneous-multihop',
                        source=['example/dce-iperf-heterogeneous-multihop.cc'])