Ubuntu 16.04 : Installing g++/gcc version 4.4 : Add two lines to /etc/apt/sources.list
Etc. etc., see
http://askubuntu.com/questions/78917.../789284#789284
For ns-allinone-2.35_gcc482.tar.gz ( 'Oct 2014' update ) : sudo apt-get install g++-4.8
Reason for g++-4.8 : The Ubuntu g++-5.1.3 cannot compile ns2.
be_a01.tcl :
tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
cd ns-allinone-2.35/
patch -p0 < myevalvid2_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd ns-2.35/
sudo make install ('make install' will copy ns to /usr/local/bin/)
cp ns ns-evalvid2 (This is your backup of 'ns')
sudo cp ns-evalvid2 /usr/local/bin/
Simulation :
ns-evalvid2 be_a01.tcl (To be sure the right 'ns' is used.)
INFO :
.
http://www.linuxquestions.org/questi...gs/myevalvid2/
.
http://www.linuxquestions.org/questions/tags/myevalvid/
-