LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 06-04-2010, 02:12 AM   #91
humpum
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
knudfl


Hey knudfl, I just read through your threads on concerning LEACH and ns-2, and I really need your help, it will be very kind of you, if you could send the mit.tar.gz and patch files to me asap, at humaira_79@yahoo.com ? Thanks in advance.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-04-2010, 02:55 AM   #92
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
@ humpum, post # 91 : Welcome to LQ.

The "mit link" shown in post # 41 works OK today.
http://www.internetworkflow.com/downloads/ns2leach/
You can get the mit.tar.gz + the 'LEACH Makefile' from there.
A modified Makefile : attached.
make -f 1-LEACH-Makefile-modified
Alternative link(s) http://www.linuxquestions.org/questi...each-862835/#4

LQ Search http://www.linuxquestions.org/questions/search.php
> > > 'Tag' = leach
will show the LEACH threads. Please read them all.
http://www.linuxquestions.org/questi...9-10-a-782356/ etc. etc.
..
Attached Files
File Type: txt 1-LEACH-Makefile-modified.txt (18.1 KB, 63 views)

Last edited by knudfl; 04-05-2011 at 12:09 PM.
 
Old 06-04-2010, 08:36 AM   #93
nawe2k
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 0
Hi
i install ns-2.27 on fedora core 12. i download mit.tar.gz and make clean.
now i have 2 makefile in ns-2.27 folder. when i write make in terminal, i get that errors in post #25.
"tools/rng.h: At global scope:
.
.
.
"
what should i do?
please help me
thx
 
Old 06-04-2010, 11:17 AM   #94
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
@nawe2k , post #93 : Welcome to LQ.

The only error shown in post #25 is :
tclcl.h: No such file or directory

All other text is a result of that error.
Solutions, see post #26.
And please read post #92 : 1-LEACH-Makefile-modified, etc. etc.
..

Last edited by knudfl; 06-04-2010 at 11:34 AM.
 
Old 06-04-2010, 01:21 PM   #95
nawe2k
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 0
thank you knudfl

i read post #26, but i can't find otcl-1.13!
thx
 
Old 06-04-2010, 03:42 PM   #96
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
Post #95 , @nawe2k.

As the referred post #92 says : Read all LEACH threads.
And you will find that the build instructions ..
http://www.linuxquestions.org/questi...10-a-782356/#3
... has ns-allinone-2.34 with otcl-1.13 included.
...
 
1 members found this post helpful.
Old 06-05-2010, 11:15 AM   #97
nawe2k
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 0
Thank you knudfl

I finaly can "make".
now i have another error.
when i type "./test" in ns-2.27 directory, i get this error " ./test: line 5: ./leach_test: No such file or directory"
but i can find "leach_test" in this directory.

please help me.
Thx
 
Old 06-05-2010, 11:27 AM   #98
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
#97 : Well, post #92 is still valid : Read all LEACH posts.

The answer is in post # 6.

..
 
Old 06-05-2010, 01:13 PM   #99
nawe2k
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 0
Thank a lot knudfl
I click the "Thanks" button.

where i can find output files for energy, alive, ..

thx

Last edited by nawe2k; 06-05-2010 at 01:23 PM.
 
Old 06-05-2010, 03:54 PM   #100
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
# 99
Quote:
Where i can find output files for energy, alive, ..
May be @ emtarik05 can answer that. ( Posts # 78, # 88 )
http://www.linuxquestions.org/questi...arik05-516518/
..

Last edited by knudfl; 04-05-2011 at 08:36 AM.
 
Old 06-23-2010, 01:30 PM   #101
urashu06
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 1
Talking gcc patch

I have applied the above patch of gcc on ubuntu 9.04 and it works. and also able to install the ns-2.27 and Leach without any trouble and it is working.
 
1 members found this post helpful.
Old 06-24-2010, 07:33 AM   #102
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
Post # 101 @ urashu06 :

I guess, it refers to posts # 84 and # 85

.. about the ns-2.27-gcc410.patch.

. Thank you.
..
 
Old 07-15-2010, 10:53 AM   #103
ATTA
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
modified ns-2.34 with LEACH

Quote:
Originally Posted by WSNs View Post
If you want me send you modified ns-2.34 with LEACH Just send me email--> go to my name WSNs and left clike then send email ask about modified ns-2.34 with LEACH

Thank you
I need the modified ns-2.34 with LEACH, thank you!
 
Old 07-15-2010, 11:11 AM   #104
ATTA
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
I am new here, I would like somebody can give me the steps to set up ns-2.34 with Leach
I have Installed NS-2.34 using Cygwin

Thank you

Last edited by ATTA; 07-15-2010 at 11:15 AM.
 
Old 07-17-2010, 02:36 AM   #105
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
@ ATTA : Welcome to LQ. .. ..

The code by @emtarik05 has been repacked : Package + instructions here (#5)
http://www.linuxquestions.org/questi...34-a-870368/#5

And please also read @emtatik05 posts : #78, #88.

.

Last edited by knudfl; 04-05-2011 at 08:40 AM.
 
  


Closed Thread

Tags
leach, leach-ns227, ns2, ns227


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 1 03-21-2009 05:28 AM
NS2 installation ds_priyaa Fedora 2 05-28-2008 02:23 AM
NS2 installation eby83 Linux - Newbie 2 06-11-2007 01:08 AM
ns2 installation pranoti Linux - Software 2 06-11-2007 12:45 AM
LXer: Interview with Bernard Leach (iPodLinux) LXer Syndicated Linux News 0 10-31-2006 11:33 AM


All times are GMT -5. The time now is 01:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration