NS 2.35 can be founded success largey in Fedora 15 and Ubuntu 11.10 victimization the following steps In Fedora 15 Download ns-allinone-2.35 from the NS2 website. The upstart version was RC8 select the folder /home/username, untar the institutionalise apply the command "tar zxvf ns-allinone-xxx.tar.gz" (without quotes). Go to the folder /home/username/ns-allinone-2.35/ using the command cd /home/username/ns-allinone-2.35 / and execute the command ./ lay (dot /install) You may encounter an error in the file mac_80211Ext.h and countersink the error given in the following line Open the file /home/username/ns-allinone-2.35/ns-2.35/mac/mac_80211Ext.h and include the following line in the header file area #include Go to step3 and type ./install Once installation completed, set the path information in .bash_profile (dot bash_profile) you need to set two path variables PATH and LD_LIBRARY_PATH entertain con this link for setting the path http://pradeepkumar.org/54/installation-instructions-for-network xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Edit this file-- ./ns-allinone-2.34/ns-2.34/mobile/nakagami.cc In line number 183 kinda of-- resultPower = ErlangRandomVariable::ErlangRandomVariable(Pr/m, int_m).
value(); write-- resultPower = ErlangRandomVariable(Pr/m, int_m).value(); In line number 185 quite of-- resultPower = GammaRandomVariable::GammaRandomVariable(m, Pr/m).value(); write-- resultPower = GammaRandomVariable(m, Pr/m).value(); And also edit the file-- ./ns-allinone-2.34/ns-2.34/tools/ranvar.cc In line number 219 instead of-- return GammaRandomVariable::GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_); write-- return GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_); ------------------------------------------------------------------------------------------------------------ This is how you will see once the ns2 installation is... If you want to get a full essay, order it on our website: Orderessay
value(); write-- resultPower = ErlangRandomVariable(Pr/m, int_m).value(); In line number 185 quite of-- resultPower = GammaRandomVariable::GammaRandomVariable(m, Pr/m).value(); write-- resultPower = GammaRandomVariable(m, Pr/m).value(); And also edit the file-- ./ns-allinone-2.34/ns-2.34/tools/ranvar.cc In line number 219 instead of-- return GammaRandomVariable::GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_); write-- return GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_); ------------------------------------------------------------------------------------------------------------ This is how you will see once the ns2 installation is... If you want to get a full essay, order it on our website: Orderessay
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.