LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2012, 03:53 PM   #16
lucky89
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled

hello sir
i want to install the ns2.29_mpolsr existed on the site of jiazy
what about the Environment Variable???
plz help me i need it for my project
 
Old 03-11-2012, 04:49 PM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,656

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Quote:
... what about the Environment Variable ???
Not required on a Linux OS.
The binary 'ns' is hard coded to know where the libraries are located.
Imagine you have 2 or more versions of ns-allinone-2.xx installed :
Will make *PATH settings impossible. The ./ns command will work.
(I have up to 14 installs of different versions / different patching
on one Linux OS.)

Installing 'ns' to a system path, example :
cd ns-allinone-2.29/ns-2.29/ ; su ; make install.
The same can be done in nam-<version>/ . ( If 'nam' works.)


In order to prevent errors with the mpolsr patching, I have packed up
a new patch, with everything : ns-allinone-2.29-mpolsr-patch.tar.bz2
> https://docs.google.com/open?id=0B7S...bjU4OFQtY2dQUQ
(10 MB: It's the most of an ns-2.29.3. An mpolsr Makefile.in is included.)

The build : tar xvf ns-allinone-2.29.3.tar.gz
&& tar xvf ns-allinone-2.29-mpolsr-patch.tar.bz2 && cd ns-allinone-2.29/
&& export CC=gcc34 CXX=g++34 && ./install

.

Last edited by knudfl; 03-11-2012 at 04:53 PM.
 
Old 03-12-2012, 12:59 AM   #18
assassin91
LQ Newbie
 
Registered: Jan 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
when I run the above commands this error is coming:

File 'Makefile.in' has modification time 4e+05 s in the future
Makefile.in is newer than Makefile.
You need to re-run configure.

After re-running configure when I run the make command the same error appears.
Plz help to resolve this error.
 
Old 03-12-2012, 01:16 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,656

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
# 18

Solution : Use the touch command ...

1) touch Makefile.in
2) touch Makefile

.
 
Old 04-16-2012, 02:38 PM   #20
lucky89
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled
hi sir
can you give me a script.tcl four the MP-OLSR protocol(MP-OLSR.tcl)
thanks
 
Old 04-16-2012, 04:43 PM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,656

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
# 20

http://jiaziyi.com/MP-OLSR.php >
>> http://www.jiaziyi.com/documents/SER...simulation.tcl

That's the only dedicated MP-olsr.tcl, I know : simulation.tcl


UM-olsr : olsr_example.tcl
http://masimum.inf.um.es/fjrm/wp-upl...sr_example.tcl

.

Last edited by knudfl; 04-17-2012 at 04:24 AM.
 
Old 04-20-2012, 07:35 AM   #22
lucky89
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled
hello sir
I used the protocle MP-OLSR and OLSR on ns2.35, its work very well , my professor ask me to analyse these protocols used the metric Mobilité of noeud for give a comparison between its (olsr ans MP-OLSR)
can you tell me how i organize this setup or if you have an exemple ?please sir
thanks in advances
 
Old 04-23-2012, 05:23 AM   #23
creez
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Rep: Reputation: Disabled
Question OLSR

Code:
I used the protocle MP-OLSR and OLSR on ns2.35, its work very well
Hi Lucki89, I want to know how did you use the OLSR on ns 2.35 successfully ? Because now I just get the following code :

invalid command name "Agent/OLSR"
while executing
"Agent/OLSR set use_mac_ true"
(file "script-olsr.tcl" line 66)

I have run the AODV first, there was no problem. That indicate my NS was working.
Please give me the step to patch OLSR, or maybe you can suggest me the other LS protocol beside OLSR. I need it urgently.

Thx b4...
 
Old 04-23-2012, 10:36 AM   #24
lucky89
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled
hello
do you patch UM_OLSR (use the path for ns-allinone-2.35)
 
Old 04-23-2012, 10:42 AM   #25
lucky89
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled
hi
what do you have if you tape this commande which ns?
 
Old 04-23-2012, 11:17 PM   #26
creez
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Rep: Reputation: Disabled
#24

Yes I have patch it and run command "make distclean" then "./configure" then "make" then "./configure" it was done.
but the problem coming when I run the tcl script. Can you tell me where was the problem coming from ?

Thanks,
 
  


Reply

Tags
mpolsr


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when running make for ns2.30 in Ubuntu 9.10 Labuschagne Linux - Software 32 03-08-2014 01:07 PM
make file error ns2 raji27 Linux - Wireless Networking 6 02-24-2013 09:51 AM
error in adding new protocol in ns2.34 for fedora 14 jothi8 LinuxQuestions.org Member Success Stories 0 03-05-2012 11:33 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
weight throwing protocol using ns2 code,diffusion based protocol using ns2 code rajrupa Linux - Networking 1 05-27-2010 03:39 AM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration