LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 03-14-2013, 06:08 AM   #1
najma
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Rep: Reputation: Disabled
Leach RCAgent error


Hi, i m trying modify send and recv functions of leach protocol to send base station-CH distance along with the node distance when sending cluster-head advertisements. i m using ns-2.29 mannasim but when i modify the send function of cluster head advertisement i get this error message.
mannasim/leach/rca/rcagent.cc:189: error: no matching function for call to ‘LeachApp::recv(int&, double&, int&, int&, char* const, int&, int&, int&)’

line189 rcagent.cc: ((LeachApp *) app_)->recv(packetMsg_, distEst_, rca_hdr->rca_link_dst(), hdr->size(), rca_hdr->meta(),
rca_hdr->meta_size(), rca_hdr->rca_mac_src(), rca_hdr->rca_link_src());

Can anyone guide how to resolve this issue?

regards,
Najma
 
  


Reply



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
[SOLVED] leach error najma Linux - Newbie 4 01-07-2013 06:57 AM
error in LEACH.ERR file jeevanpinto Linux - Newbie 0 07-25-2012 05:59 AM
I got an error while running leach package in ns2.. help me to get out of this error. rkgowrishankar Linux - Software 1 02-07-2012 04:51 AM
error in LEACH charanya Linux - Wireless Networking 0 11-07-2011 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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