LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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


Closed Thread
  Search this Thread
Old 12-03-2017, 09:46 AM   #1
Kalimuha
LQ Newbie
 
Registered: Dec 2017
Posts: 4

Rep: Reputation: Disabled
Question error when adding APIT in ns2.35


After I edit cmu-trace.cc file in ns2.35 to add APIT many errors were generated. some of them are the following.Please help me.
Thank you in advance.

"
trace/cmu-trace.cc: In member function ‘void CMUTrace::format_apit(Packet*, int)’:
trace/cmu-trace.cc:1077:45: error: ‘HDR_APIT’ was not declared in this scope
struct hdr_apit *wd = HDR_APIT(p);
^
trace/cmu-trace.cc:1078:60: error: ‘HDR_APIT_BEACON’ was not declared in this scope
struct hdr_apit_beacon *bcn = HDR_APIT_BEACON(p);
^
trace/cmu-trace.cc:1079:57: error: ‘HDR_APIT_RSSI’ was not declared in this scope
struct hdr_apit_rssi *rssi = HDR_APIT_RSSI(p);
^
trace/cmu-trace.cc:1081:22: error: invalid use of incomplete type ‘struct CMUTrace::format_apit(Packet*, int)::hdr_apit’
switch(wd->pkt_type) {
......"
 
Old 12-04-2017, 11:18 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,885
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

https://www.linuxquestions.org/quest...-a-4175618931/
 
  


Closed Thread



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
Error when adding LAR protocol in NS2 Helen jameel Linux - Software 28 04-03-2016 08:15 PM
error adding new module in ns2 r0w225 Linux - Newbie 25 09-15-2014 12:05 PM
Error when adding LAR to ns2 Helen jameel Linux - Software 1 07-07-2014 09:02 AM
make error in ns2.29 when adding new protocol assassin91 Linux - Newbie 25 04-23-2012 11:17 PM
error in adding new protocol in ns2.34 for fedora 14 jothi8 LinuxQuestions.org Member Success Stories 0 03-05-2012 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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