Welcome to LQ.
The tested LEACH patches are for ns-2.27 , ns-2.34
ns-2.27
http://www.linuxquestions.org/questi...2-27-a-785379/
ns-2.34
http://www.linuxquestions.org/questi...34-a-870368/#5
And :
http://www.linuxquestions.org/questi...ra13-907076/#9
>> Posts #9, #11.
Just guessing : You are using Ubuntu 11.10 : Not usable for any ns2.
The latest easy usable is 10.10. Recommended is Ubuntu 10.04,
if it must be Ubuntu. ( The default ns2 OS is CentOS / Scientific Linux.)
P.S. : I think that some LQ member made a leach patch for ns-2.35.
But no files revealed yet ?
The post should appear, when you read some of the LQ ns2 threads about leach.
.