First : The ns2 version to use is ns-allinone-2.29.3.tar.gz
http://sourceforge.net/projects/nsna...ar.gz/download
... Which also means that you can forget about the "ns2292-gcc410.patch" :
Is for an older version of ns-allinone-2.29.
Install the ns2 build prerequisites :
sudo apt-get update && sudo apt-get install g++ g++-4.1 automake libtool libxmu-dev
Read the links you got yesterday for adding the patches.
And do $ cd ns-allinone-2.29/
$ export CC=gcc-4.1 CXX=gcc-4.1 && ./install
* I guess you will need to setup two times ns-allinone-2.29.3 :
One for all the "nist-mob" stuff, and the other one for NS-MIH-MULTI-CRITERIA.
I.e. you can have as many times ns-allinone-2.xx as you want,
installed at the same time. But do never add any *PATH text to .bashrc.
-