- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- how to patch DYMOUM in ns2.34
Hello Everyone,
This post is regarding DYMO Protocol in MANETs. I have successfully installed ns2.34 in Fedora 17 using Oracle Virtual Box. But still i’m not able to patch DYMOUM in ns2.34 completely. Till now i have followed below steps to patch DYMOUM in ns2.34
1) I have downloaded the DYMOUM latest version(dymoum-0.3.tgz) and copied it in ns2.34 directory.
2) Then i extracted “dymoum-0.3.tgz” in ns-2.34 directory and made a symbolic link (symlink) using command (ln -s ./dymoum-0.3 ./dymoum).
3) Then i downloaded the patch dymoum_ns-2.34_v0.3.patch and made one change in this patch using GEDIT. I hav deleted the word “Makefile at line number 59.
(this was mentioned at this blog http://ramakrishnamundugar.blogspot.in/p/patching-dymo-um-in-ns-234.html)
Before Deletion +$(NS): $(DYMO_UM_DIR)/$(DYMO_UM_LIB) $(OBJ) common/tclAppInit.o Makefile
After Deletion +$(NS): $(DYMO_UM_DIR)/$(DYMO_UM_LIB) $(OBJ) common/tclAppInit.o
4) Then i copied this patch in dymoum-0.3 folder and applied the patch command
5) After the patch command i configure it using the command (./configure)
6) Then i run the make command and came across the below errors.
make[1]: *** [ns/dymo_um-ns.o] Error1
make[1]: Leaving Directory ‘/home/jatinder/Desktop/ns-allinone-2.34/ns-2.34/dymoum-0.3’
make: *** [dymoum/libdymoum.a] Error 2
What is the output of the following patch operation?
patch -p1 < dymoum/dymoum_ns-2.34_v0.3.patch
For example, if you receive any single error like this
Hunk #1 FAILED at XX
then it means that the patch operation has failed.
If you compile ns2 after a partial patch operation or a failed patch operation, then you can not compile ns2 successfully again.