Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation error #17

Closed
ghost opened this issue Nov 2, 2018 · 1 comment
Closed

installation error #17

ghost opened this issue Nov 2, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 2, 2018

Hey,i get a error about installation.
after installing ns3 and configuring,I run the instruction
./waf --run 'src/dash/examples/dash-example --users=3 --protocol="ns::FdashClient" --LinkRate=1000Kbps'
and get a error:
Waf: Entering directory `/home/albert/repos/ns-3-allinone/ns-3-dev/build'
[1786/2466] Compiling src/dash/model/algorithms/osmp-client.cc
[1791/2466] Compiling src/dash/model/dash-server.cc
../src/dash/model/dash-server.cc: In static member function ‘static ns3::TypeId ns3::DashServer::GetTypeId()’:
../src/dash/model/dash-server.cc:58:60: error: ‘ns3::TypeId ns3::TypeId::AddTraceSource(std::__cxx11::string, std::__cxx11::string, ns3::Ptr)’ is deprecated [-Werror=deprecated-declarations]
MakeTraceSourceAccessor(&DashServer::m_rxTrace));
^
In file included from ./ns3/object-base.h:23:0,
from ./ns3/object.h:29,
from ./ns3/node.h:26,
from ../src/dash/model/dash-server.cc:26:
./ns3/type-id.h:439:10: note: declared here
TypeId AddTraceSource (std::string name,
^
cc1plus: all warnings being treated as errors

Waf: Leaving directory `/home/albert/repos/ns-3-allinone/ns-3-dev/build'
Build failed
-> task in 'ns3-dash' failed with exit status 1 (run with -v to display more information)
how can i solve this problem?(using ubuntu16.04 ns3.29

@djvergad
Copy link
Owner

djvergad commented Nov 4, 2018

Thanks for reporting.

Issue has been fixed by commit bb2aadb, after you pull it should compile properly.

@djvergad djvergad closed this as completed Nov 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant