Thanks, Matthias, yep the methods problem was that it was case sensitive and
i had forgotten that I changed it. I admit that it was stupid of me not to
realise this.
Are you  based in the Berlin TKN? Do you mind me using your package? :)



Im having problems that seem to be because of my version 2.30.
In 2004 december, Pepe Barbe had the same problem I currently have

*Despoina Triantafyllidou* replied that the problem was due to the version
"
the 802.11e patch is for ns-2.26.
under ns-2.27 may cause these problems...
"
As I am 2.30, why am i having similar problems?


 Here is the error I receive after running make:

 #warning This file includes at least one deprecated or antiquated header.
Please consid
er using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples i
nclude substituting the <X> header for the <X.h> header for C++ includes, or
<iostream>
instead of the deprecated header <iostream.h>. To disable this warning use
-Wno-deprecat
ed.
In file included from mac/802_11e/mac-802_11e.h:10,
                 from mac/802_11e/mac-802_11e.cc:14:
mac/802_11e/priq.h:12:1: warning: "MAX" redefined
In file included from ./common/mobilenode.h:63,
                 from mac/802_11e/mac-802_11e.cc:7:
./mobile/gridkeeper.h:17:1: warning: this is the location of the previous
definition
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::transmit(Packet*, doubl
e)':
mac/802_11e/mac-802_11e.cc:72: error: `ETHER_HDR_LEN11' undeclared (first
use this funct
ion)
mac/802_11e/mac-802_11e.cc:72: error: (Each undeclared identifier is
reported only once
for each function it appears in.)
mac/802_11e/mac-802_11e.cc: At global scope:
mac/802_11e/mac-802_11e.cc:112: error: `EDCF_MMIB' must be initialized by
constructor, n
ot by `{...}'
mac/802_11e/mac-802_11e.cc: In constructor
`Mac802_11e::Mac802_11e(EDCF_PHY_MIB*, MAC_MI
B*)':
mac/802_11e/mac-802_11e.cc:182: error: `ETHER_ACK_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `virtual int
Mac802_11e::command(int, con
st char* const*)':
./mac/mac-802_11.h:203: error: `u_int32_t MAC_MIB::ShortRetryLimit' is
private
mac/802_11e/mac-802_11e.cc:240: error: within this context
./mac/mac-802_11.h:203: error: `u_int32_t MAC_MIB::ShortRetryLimit' is
private
mac/802_11e/mac-802_11e.cc:247: error: within this context
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::trace_pkt(Packet*)':
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:272: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc: In member function `virtual int
Mac802_11e::hdr_dst(char*, i
nt)':
mac/802_11e/mac-802_11e.cc:312: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:312: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:312: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:312: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:314: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:314: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:314: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:314: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc: In member function `virtual int
Mac802_11e::hdr_src(char*, i
nt)':
mac/802_11e/mac-802_11e.cc:322: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:322: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:322: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:322: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:323: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:323: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:323: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:323: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::discard(Packet*, const
char*)':
mac/802_11e/mac-802_11e.cc:392: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:392: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:392: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:392: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:400: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:400: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:400: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:400: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:414: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:414: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:414: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:414: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:416: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:416: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:416: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:416: error: 'struct hdr_mac802_11' has no member
named 'dh_sa
'
mac/802_11e/mac-802_11e.cc:418: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:418: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:418: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:418: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::tx_resume()':
./mac/mac-802_11.h:202: error: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:502: error: within this context
mac/802_11e/mac-802_11e.cc:503: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:503: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:503: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:503: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:505: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:505: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:505: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:505: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::sendHandler()':
mac/802_11e/mac-802_11e.cc:590: warning: unused variable 's'
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::send_timer()':
mac/802_11e/mac-802_11e.cc:653: warning: unused variable 's'
mac/802_11e/mac-802_11e.cc: In member function `int
Mac802_11e::check_pktCTRL(int)':
mac/802_11e/mac-802_11e.cc:728: error: `ETHER_CTS_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc:733: error: `ETHER_ACK_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `int
Mac802_11e::check_pktRTS(int)':
mac/802_11e/mac-802_11e.cc:777: error: `ETHER_RTS_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc:780: error: `ETHER_CTS_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `int
Mac802_11e::check_pktTx(int)':
mac/802_11e/mac-802_11e.cc:816: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:816: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:816: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:816: error: 'struct hdr_mac802_11' has no member
named 'dh_da
'
mac/802_11e/mac-802_11e.cc:820: error: `ETHER_ACK_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::sendRTS(int, int)':
./mac/mac-802_11.h:202: error: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:854: error: within this context
mac/802_11e/mac-802_11e.cc:863: error: `ETHER_RTS_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc:890: error: `ETHER_CTS_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc:894: error: `ETHER_ACK_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc:894: error: `ETHER_ACK_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::sendCTS(int, int, doubl
e)':
mac/802_11e/mac-802_11e.cc:912: error: `ETHER_CTS_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::sendACK(int, int)':
mac/802_11e/mac-802_11e.cc:956: error: `ETHER_ACK_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::sendDATA(int, Packet*)'
:
mac/802_11e/mac-802_11e.cc:997: error: `ETHER_HDR_LEN11' undeclared (first
use this func
tion)
mac/802_11e/mac-802_11e.cc:1014: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1014: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1014: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1014: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1020: error: `ETHER_ACK_LEN' undeclared (first
use this funct
ion)
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::RetransmitRTS(int)':
./mac/mac-802_11.h:203: error: `u_int32_t MAC_MIB::ShortRetryLimit' is
private
mac/802_11e/mac-802_11e.cc:1047: error: within this context
mac/802_11e/mac-802_11e.cc:1058: error: `ETHER_HDR_LEN11' undeclared (first
use this fun
ction)
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::RetransmitDATA(int)':
mac/802_11e/mac-802_11e.cc:1099: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1099: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1099: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1099: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
./mac/mac-802_11.h:202: error: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1126: error: within this context
./mac/mac-802_11.h:203: error: `u_int32_t MAC_MIB::ShortRetryLimit' is
private
mac/802_11e/mac-802_11e.cc:1128: error: within this context
./mac/mac-802_11.h:204: error: `u_int32_t MAC_MIB::LongRetryLimit' is
private
mac/802_11e/mac-802_11e.cc:1132: error: within this context
mac/802_11e/mac-802_11e.cc:1138: error: `ETHER_HDR_LEN11' undeclared (first
use this fun
ction)
mac/802_11e/mac-802_11e.cc:1162: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1162: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1162: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1162: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::send(Packet*, Handler*)
':
mac/802_11e/mac-802_11e.cc:1192: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1192: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1192: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1192: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc: In member function `virtual void
Mac802_11e::recv(Packet*, H
andler*)':
mac/802_11e/mac-802_11e.cc:1242: warning: unused variable 's'
mac/802_11e/mac-802_11e.cc:1260: warning: unused variable 's'
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::recv_timer()':
mac/802_11e/mac-802_11e.cc:1297: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1297: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1297: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1297: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1369: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1369: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1369: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1369: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1293: warning: unused variable 's'
mac/802_11e/mac-802_11e.cc: In member function `double
Mac802_11e::txtime(double, double
)':
mac/802_11e/mac-802_11e.cc:1484: error: `PLCP_HDR_LEN' undeclared (first use
this functi
on)
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::recvDATA(Packet*)':
mac/802_11e/mac-802_11e.cc:1537: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1537: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1537: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1537: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1538: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1538: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1538: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1538: error: 'struct hdr_mac802_11' has no member
named 'dh_s
a'
mac/802_11e/mac-802_11e.cc:1545: error: `ETHER_HDR_LEN11' undeclared (first
use this fun
ction)
./mac/mac-802_11.h:202: error: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1553: error: within this context
mac/802_11e/mac-802_11e.cc: In member function `void
Mac802_11e::recvACK(Packet*)':
./mac/mac-802_11.h:202: error: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1654: error: within this context
./mac/mac-802_11.h:202: error: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1668: error: within this context
mac/802_11e/mac-802_11e.cc:1668: warning: comparison between signed and
unsigned integer
 expressions
mac/802_11e/mac-802_11e.cc:1683: error: `ETHER_ACK_LEN' undeclared (first
use this funct
ion)
mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::cfb(int)':
mac/802_11e/mac-802_11e.cc:1708: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1708: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1708: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1708: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1712: error: `ETHER_ACK_LEN' undeclared (first
use this funct
ion)
mac/802_11e/mac-802_11e.cc:1705: warning: unused variable 'ch'
mac/802_11e/mac-802_11e.cc:1723: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1723: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1723: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
mac/802_11e/mac-802_11e.cc:1723: error: 'struct hdr_mac802_11' has no member
named 'dh_d
a'
make: *** [mac/802_11e/mac-802_11e.o] Error 1

Sincerest thanks and Regards,

Michael, DCU Dublin, Electronic engineering undergrad

Reply via email to