LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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

Reply
 
LinkBack Search this Thread
Old 02-08-2012, 07:43 AM   #1
khushbushah
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Rep: Reputation: Disabled
Regarding leach 2.34 installation on Fedora 14


Hi
I have installed leach on ns2.34 on Fedora 14

http://www.linuxquestions.org/questi...34-a-870368/#5

after executing ./test file I got this result

num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...

I followed all required steps but I got the following error in leach.err file

"Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind..."
(file "/opt/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" line 11)

and same other few errors
Can anybody help me to come out of this problem?
leach.out file is created but its blank.
 
Old 02-12-2012, 05:21 PM   #2
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 7,280

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
first fedora 14 is past it's End Of Life
there is no more support for 14
Please install the current version
Fedora 16


second that is a ubuntu thread
so how did you install ns2 on fedora
what version of gcc did you use?
what patches did you apply to the source code to get it to build ?
 
Old 02-13-2012, 03:49 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,287

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
@khushbushah, there is a discussion about "test" in your link.

Page 7 ? Page 8 :
http://www.linuxquestions.org/questi...368/page8.html

Please read the complete thread.
There are many informative answers from @deepa_2111, etc.

.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LEACH protocol installation on NS2.27 Scofield Linux - General 255 03-08-2012 05:19 PM
LEACH installation geethamit Linux - Software 1 11-01-2011 03:58 PM
LEACH installation geethamit Linux - Software 1 10-17-2011 10:45 AM
About LEACH patch for NS 2.34 in fedora 11 tonazrul Linux - Wireless Networking 4 04-05-2011 04:53 PM
Leach Installation on NS2 Asmaa Seyam Linux - General 3 10-19-2010 12:31 PM


All times are GMT -5. The time now is 07:51 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
Open Source Consulting | Domain Registration