nkengr@engr
2017-11-23 12:30:57 UTC
how can I do with this, I was integrating AOMDV from github, it gives me
this error, when inserting command ./waf
../src/aomdv/examples/aomdv.cc: In member function âvoid
AomdvExample::CreateDevices()â:
../src/aomdv/examples/aomdv.cc:176:33: warning: âstatic ns3::WifiHelper
ns3::WifiHelper::Default()â is deprecated [-Wdeprecated-declarations]
WifiHelper wifi = WifiHelper::Default ();
^
In file included from ./ns3/ht-wifi-mac-helper.h:25:0,
from ./ns3/wifi-module.h:41,
from ../src/aomdv/examples/aomdv.cc:29:
./ns3/wifi-helper.h:239:21: note: declared here
static WifiHelper Default (void);
^
../src/aomdv/examples/aomdv.cc:176:42: warning: âstatic ns3::WifiHelper
ns3::WifiHelper::Default()â is deprecated [-Wdeprecated-declarations]
WifiHelper wifi = WifiHelper::Default ();
^
In file included from ./ns3/ht-wifi-mac-helper.h:25:0,
from ./ns3/wifi-module.h:41,
from ../src/aomdv/examples/aomdv.cc:29:
./ns3/wifi-helper.h:239:21: note: declared here
static WifiHelper Default (void);
^
../src/aomdv/examples/aomdv.cc: In member function âvoid
AomdvExample::InstallInternetStack()â:
../src/aomdv/examples/aomdv.cc:189:3: error: âAomdvHelperâ was not declared
in this scope
AomdvHelper aomdv;
^
../src/aomdv/examples/aomdv.cc:192:32: error: expected primary-expression
before â)â token
stack.SetRoutingHelper (aomdv); // has effect on the next Install ()
^
../src/aomdv/examples/aomdv.cc:201:12: error: expected primary-expression
before â.â token
aomdv.PrintRoutingTableAllAt (Seconds (8), routingStream);
this error, when inserting command ./waf
../src/aomdv/examples/aomdv.cc: In member function âvoid
AomdvExample::CreateDevices()â:
../src/aomdv/examples/aomdv.cc:176:33: warning: âstatic ns3::WifiHelper
ns3::WifiHelper::Default()â is deprecated [-Wdeprecated-declarations]
WifiHelper wifi = WifiHelper::Default ();
^
In file included from ./ns3/ht-wifi-mac-helper.h:25:0,
from ./ns3/wifi-module.h:41,
from ../src/aomdv/examples/aomdv.cc:29:
./ns3/wifi-helper.h:239:21: note: declared here
static WifiHelper Default (void);
^
../src/aomdv/examples/aomdv.cc:176:42: warning: âstatic ns3::WifiHelper
ns3::WifiHelper::Default()â is deprecated [-Wdeprecated-declarations]
WifiHelper wifi = WifiHelper::Default ();
^
In file included from ./ns3/ht-wifi-mac-helper.h:25:0,
from ./ns3/wifi-module.h:41,
from ../src/aomdv/examples/aomdv.cc:29:
./ns3/wifi-helper.h:239:21: note: declared here
static WifiHelper Default (void);
^
../src/aomdv/examples/aomdv.cc: In member function âvoid
AomdvExample::InstallInternetStack()â:
../src/aomdv/examples/aomdv.cc:189:3: error: âAomdvHelperâ was not declared
in this scope
AomdvHelper aomdv;
^
../src/aomdv/examples/aomdv.cc:192:32: error: expected primary-expression
before â)â token
stack.SetRoutingHelper (aomdv); // has effect on the next Install ()
^
../src/aomdv/examples/aomdv.cc:201:12: error: expected primary-expression
before â.â token
aomdv.PrintRoutingTableAllAt (Seconds (8), routingStream);
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.