how to install NS-2.33 installation in Ubuntu 12.04 and 14.4
 Follow the below given steps:   Download ns-allinnone-2.33 from nasam website  copy to  home folder   extract zip file                  1.sudo apt-get install update    Install required libraries for ns2 using terminal    2.sudo apt-get install build-essential autoconf automake libxmu-dev   3. sudo apt-get install xorg-dev g++ xgraph    Then,  go to ns-allinone-2.33   4. ./install   For errors,    1.  ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined  ld: final link failed: Bad value  make: *** [libotcl.so] Error 1  otcl-1.13 make failed! Exiting ...  Solution:  In otcl-1.13/configure, line number 6304   -SHLIB_LD="ld -shared"  +SHLIB_LD="gcc -shared"   2.  tools/ranvar.cc: In member function ‘virtual double GammaRandomVariable::value()’:  tools/ranvar.cc:219:70: error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly [-fpermissive]  tools/ranvar.cc:219:70: error:   for a func...