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) {
......"
|