Installing ns-2.34 in Fedora 14
To install Network Simulator Version 2.34 in Fedora 14 has the following limitations.
1. Fedora 14 comes with GCC version 3.5 which has major changes like it accept X() rather than X::X(), So ns also has to modify accordingly.
2. You may get an error for GammaRandomVariable, so that has to be corrected in the following two files
(Above pic: The file nakagami.cc has to be opened and there will a change in two line numbers 183 and 185 as given below)
(The file ranvar.cc has to be opened and change in line number 219 as given below)
Once the above steps done,
Go to terminal and install NS2 (http://pradeepkumar.org/2008/11/installation-instructions-for-network.html)
and refer the video for installing NS2. http://pradeepkumar.org/2011/02/installation-of-network-simulator-2-ns2video.html