The EDCA patch, EDCA_ns-2_28-v1-0-2.tgz is for ns-2.28.
Do not expect it to work in other versions.
Fedora, CentOS :
http://www.linuxquestions.org/questi...led-732164/#11
tar xvf ns-allinone-2.28.tar.gz && patch -p1 < ns228-gcc40.patch &&
cd xvf ns-allinone-2.28/ns-2.28/mac/ && tar xvf EDCA_ns-2_28-v1-0-2.tgz
&& exit
Then do the changes described in ns-allinone-2.28/ns-2.28/mac/802_11e/README.
cd ns-allinone-2.28/ && export CC=gcc34 && CXX=g++34 && ./install
Ubuntu 10.04 (10.10) As above (other gcc/g++ names), and ..
http://www.linuxquestions.org/questi...led-732164/#10
A liitle more complicated, as Ubuntu cannot configure old tcl/tk.
cd ns-allinone-2.28/ && export CC=gcc-3.4 && CXX=g++-3.4 && ./install
Ubuntu 11.04 : Only with the special compilers
g++34-compat-3.4.6_i386.deb, gcc34-compat-3.4.6_i386.deb
Ubuntu 11.10 : No chance.
.