LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2014, 03:02 AM   #1
lintreesa
LQ Newbie
 
Registered: Apr 2013
Posts: 16

Rep: Reputation: Disabled
How to add Mac/csma to ns2?


I am working with ns-allinone-2.35 on ubuntu 10.10.
I want to run one script using Mac/csma. The mac-csma.o file is generated I. tried to add Mac/mac-csma.o to Makefile.in , ran ./configure and make. I got the following error

mac/mac-csma.cc: In member function ‘virtual void MacCsma::send(Packet*)’:
mac/mac-csma.cc:107: error: ‘class Channel’ has no member named ‘txstop’
mac/mac-csma.cc:135: error: ‘class Channel’ has no member named ‘contention’
mac/mac-csma.cc: In member function ‘virtual void MacCsma::backoff(Handler*, Packet*, double)’:
mac/mac-csma.cc:148: error: ‘class Channel’ has no member named ‘txstop’
mac/mac-csma.cc: In member function ‘virtual void MacCsma::endofContention(Packet*)’:
mac/mac-csma.cc:163: error: ‘class Channel’ has no member named ‘send’
mac/mac-csma.cc: In member function ‘virtual void MacCsmaCd::endofContention(Packet*)’:
mac/mac-csma.cc:173: error: ‘class Channel’ has no member named ‘collision’
mac/mac-csma.cc:174: error: ‘class Channel’ has no member named ‘jam’
mac/mac-csma.cc: In member function ‘virtual void MacCsmaCa::send(Packet*)’:
mac/mac-csma.cc:185: error: ‘class Channel’ has no member named ‘txstop’
mac/mac-csma.cc:191: error: ‘class Channel’ has no member named ‘contention’
make: *** [mac/mac-csma.o] Error 1
Ns make failed!

Can anyone pls help me.

Thanks in advance..
 
  


Reply

Tags
ns2


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
z-mac installation on ns2.34 arica Linux - Software 81 02-24-2014 05:18 AM
NS2 S-MAC Sleep Time Query ulyssues.fam Linux - Newbie 1 11-24-2012 05:18 PM
CSMA/CA or MAC protocol TIS-Well Linux - Wireless Networking 1 01-10-2012 09:21 AM
where can i get CSMA/CA source mathru Linux - Newbie 3 09-18-2009 05:54 AM
looking for source code implementaion of CSMA/CA Mr.J Linux - Wireless Networking 0 07-22-2009 12:56 AM


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