ns-2.29-nist-mob-022707.tgz.
hi , i'm new user here and i want your help
i'm trying to install ns-2.29-nist-mob-022707.tgz on NS2.29 on ubuntu 11.04 but faced some errors following these steps : 1) http://http://www.linuxquestions.org...roblem-871264/ 2)is this patch the same as the following "it is exactly what i want to simulate" 3) ns-MIH ****.tcl file is this the command ??? i'm new in linux :) |
1. http://www.linuxquestions.org/questi...roblem-871264/
... is an old install example. "nist-mob" + PMIPv6 : https://sites.google.com/site/pmip6n...ns-2/downloads Recent build examples ... . http://www.linuxquestions.org/questi...-a-4175463585/ . http://www.linuxquestions.org/questi...-4175515923/#9 Quote:
Please tell what it is, you want to do. Quote:
MIH info http://www.linuxquestions.org/questions/tags/mih/ Please read http://www.linuxquestions.org/linux/...Ask_a_Question . http://linuxsilo.net/docs/smart-questions_en.html - |
unfortunatly i try to install the patch after successfuly install NS2.29 but got the following error
make: *** [mac/wireless-phy.o] Error 1 ubuntu 11.04 |
Ref. #3.
Which Ubuntu 11.04 have you got now ? ? 32bits or 64bits ? This command will reply with i686 for 32bits and x86_64 for 64bits : $ uname -m Note : A 32bits OS is recommended for ns2. - |
Which Ubuntu 11.04 have you got now ? ? 32bits or 64bits ?
i686 |
#3, #5 .
OK, Ubuntu 11.04 - i686. For the ns-2.29.3 (which is {an ns-2.29 version 0..2} patched for gcc 4.1), you will have to use the Ubuntu 11.04 compilers gcc41 / g++41, post #14 here: http://www.linuxquestions.org/questi...4-a-944856/#14 Building ns-2.29 : Please start from scratch with $ tar xvf ns-allinone-2.29.3.tar.gz $ cd ns-allinone-2.29/ $ tar xvf ns-2.29-nist-mob-022707.tgz $ patch -p0 < pmip6-for-ns-2.29-nist.patch $ export CC=gcc41 CXX=g++41 && ./install - |
i followed your instruction and got the following error again
make: *** [mac/wireless-phy.o] Error 1 what to do ?!!!! |
# 7 .
Quote:
Please show line 36 - 37 from ns-allinone-2.29/ns-2.29/Makefile Note : The files in ns-2.29-nist-mob-022707 are dated ~March 2006, and only g++ version 3.4.6 may work. gcc34-compat 1104 https://drive.google.com/file/d/0B7S...it?usp=sharing g++34-compat https://drive.google.com/file/d/0B7S...it?usp=sharing See "nist-mob" http://www.linuxquestions.org/questions/tags/nist-mob/ - |
#7, #8 .
Ubuntu 11.04 - i686 : Testing with ns229.3 + ns-2.29-nist-mob-022707.tgz + pmip6-for-ns-2.29-nist.patch: $ cd ns-allinone-2.29/ $ export CC=gcc41 CXX=g++41 && ./install .. And when the errors appear : cd ns-2.29/, .. then edit the Makefile to g++34, .. and run $ make ** You will be stopped by a linker error. ( g++34 cannot do the linking. g++41 can.) * Edit the Makefile to g++41 * Delete bluetooth/sco-agent.o .. and run $ make .. then the executable 'ns' is being created. - |
i follow each step you asked me for but i got this ...
Quote:
|
i install it on ubunt10.04 32 bit at the end of installation it asks me to edit bashrc file & i do edit variables & and now i'll execute ./validate command
but question is that error appear Quote:
what to do??? sorry for my english |
Post #10.
Doesn't look like you are using g++34. ( I don't get those errors.) Repeat (from post #8) : ""Please show line 36 - 37 from ns-allinone-2.29/ns-2.29/Makefile "". * I.e. as long as we don't know which compiler you are using, your errors tell nothing. # 11 : You are not supposed to edit the .bashrc ! That's an old (1999) text only to be used when you are not the computer owner, and cannot use 'sudo make install'. ? Did you manage to build the executable 'ns' ? When 'ns' is present, you can do $ sudo make install * Else not. As the only thing 'make install' does, is to copy 'ns' to /usr/local/bin/ - |
ns2.29 run successfully in ubuntu 10.04 and give me results with *.tr and *.nam
what command to use to run this !!!!! Quote:
Quote:
Quote:
Quote:
|
1 Attachment(s)
# 13 .
Quote:
* My example : $ ns-nistmob-wimax wifi_wimax.tcl 1 2 10 ? But maybe you didn't compile an executable with Wimax included ? Code:
[knudfl@localhost ns-2.29]$ grep -n wimax Makefile.in - |
hi knudfl;
first of all i want to thank you for your help and support and giving me from your time and attention . i check it all things is ok ; and Makefile.in is correct .... why am i able to simulate MIH.tcl example correctly even it contains wifi&wimax&umts ????? my second question is . how to extract data from resulted trace after success in simulating it - i mean differentiate between the different types of access technology from the resulted trace?? like the following links : http://jp2011.pcg.ull.es/sites/jp201...nadas_v02a.pdf and www.sequans.com/pdf/ICC_2008_Jeremy.pdf thanks alot knudfl; |
All times are GMT -5. The time now is 09:13 PM. |