LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-24-2010, 05:13 AM   #1
Mwandha
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 0
Question leach_makefile-2.27.patch


Hullo people, i am trying to find out who may have leach_makefile-2.27.patch, i am trying to run the leach protocol on my machine but i need that patch in order to run it with ns2. Please can someone be able to find it for me

regards
 
Old 02-24-2010, 06:07 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
1) Building the required ns-allinone-2.27 on a modern OS, example
http://www.linuxquestions.org/questi...9.10-782356/#3

2) LEACH, ns-2.27 A) http://www.linuxquestions.org/questi...ighlight=leach

3) LEACH, B) http://www.linuxquestions.org/questi...ighlight=leach

4) No "leach_makefile-2.27.patch" is available, the "LEACH Makefile"
will do http://www.internetworkflow.com/down...leach/Makefile

http://www.internetworkflow.com/downloads/ns2leach/
.....

Last edited by knudfl; 02-24-2010 at 06:57 AM.
 
Old 04-17-2010, 11:12 PM   #3
sahel_s
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
1) Building the required ns-allinone-2.27 on a modern OS, example
http://www.linuxquestions.org/questi...9.10-782356/#3

2) LEACH, ns-2.27 A) http://www.linuxquestions.org/questi...ighlight=leach

3) LEACH, B) http://www.linuxquestions.org/questi...ighlight=leach

4) No "leach_makefile-2.27.patch" is available, the "LEACH Makefile"
will do http://www.internetworkflow.com/down...leach/Makefile

http://www.internetworkflow.com/downloads/ns2leach/
.....



dear knudfle

i can pass 5 steps on this page(http://cypress.tistory.com/entry/ns2-227-ubuntu)by your helping & kindness.

but in setp6,part1,the link doesnt work,i search for finding leach_makefile-2.27.patch,& i found nothing:-(
finally i saw your post.
i get leach_make file from(http://www.internetworkflow.com/down...leach/Makefile)
and save it by the name"leach_makefile-2.27.patch"
then do the step6,part2 &it gives me this message:
public@setareh-desktop:~$ patch -p0 < leach_makefile-2.27.patch
patch: **** Only garbage was found in the patch input.

is this true?can i continue steps?

sincerelly
 
Old 04-19-2010, 12:38 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
http://www.internetworkflow.com/down...leach/Makefile
= Makefile ( alias "Makefile-LEACH ).

A complete makefile cannot be used as a patch.
The file 'Makefile' is replacing "Makefile(orig)".
Suggest : mv Makefile Makefile.org
Also : The 'make -f' command can be used , e.g.
make -f 1-LEACH-Makefile-modified

You may want to read the six LQ LEACH threads (again).
http://www.linuxquestions.org/questions/tags/leach
For the latest updates of the posts. And some new posts
were added.
.....
Attached Files
File Type: txt 1-LEACH-Makefile-modified.txt (18.1 KB, 95 views)
 
  


Reply

Tags
leach, 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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to patch my redhat Enterprise Linux 5.1 to the latest patch level? shaybery Red Hat 4 10-05-2008 02:04 AM
How do i patch 2.4.21-37 kernel with antidote2 security patch suchi Linux - Kernel 4 09-05-2006 02:29 AM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM


All times are GMT -5. The time now is 01:20 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