cd ns-2.29/ ; cp ns ns-mannasim ; sudo cp ns-mannasim /usr/local/bin
-[/QUOTE]
when I tyoe cp ns ns-mannasim in ns-2.29 folder
error
rohini@ubuntu:~/ns-allinone-2.29/ns-2.29$ cp ns ns-mannasim
cp: cannot stat `ns': No such file or directory
Also i have unpacked MannaSim Framework tar.gz file in to ns-2.29 folder
and follow these instructions
Unpack the tar.gz file into ns-2.29 main folder (if using ns all-in-one distribution ns-allinone-2.29/ns-2.29 folder). Inside mannasim/ folder just created look for a ns-modified-files/ folder. where ns-2.29 modified files are stored.
Substitue ns-2.29 files listed bellow by it's MannaSim version stored in ns-modified-files/ folder in mannasim/ directory.
ns-2.29/apps/udp.cc
ns-2.29/common/ns-process.h
ns-2.29/common/packet.cc
ns-2.29/common/packet.h
ns-2.29/mac/mac-802_11.cc
ns-2.29/tcl/lib/ns-lib.tcl
ns-2.29/tcl/lib/ns-default.tcl
ns-2.29/Makefile.in
In ns-2.29 main folder re-run configuration script and then re-compile the system:
./configure
make
for configure and make I did
export CC=gcc-4.1 CXX=g++-4.1 && ./configure && make
i got error as
mannasim/leach/mac/leach-wireless-phy.o: In function `hdr_rca:
ffset()':
leach-wireless-phy.cc
.text._ZN7hdr_rca6offsetEv[hdr_rca:
ffset()]+0x4): undefined reference to `hdr_rca:
ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Instructions are from site
http://www.mannasim.dcc.ufmg.br/download.htm
please suggest some solution.
Thanks