Old versions cannot be updated, may be a chance with 6.6 : # yum update
( 6.5 or older : No update is possible.)
FHMIPv6 : gcc34, g++34 is required : # yum install compat-gcc-34-c++
Code:
tar xvf ns-allinone-2.31.tar.gz
cd ns-allinone-2.31/ns-2.31/
patch -p1 < ns2.31_fhmip.patch
cd ../
export CC=gcc34 CXX=g++ && sh install
cd ns-2.31/
cp ns ns231-fhmip
# cp ns231-fhmip /usr/local/bin/
Simulation : ns231-fhmip fhmip_simula.tcl
No errors here, CentOS 6.8 - i386
-