On Jun 14, 2007, at 6:43 AM, Sim Tec wrote:
> Hello NS Users, Sven, Matthias, hilal, and Pepe > > I managed to get rid of the dh_da dh_sa problems that I mentioned > in the previous post. > BUT the rest of the make errors remain. > I am worried now. Because this makes me think that I need to use a > different version of NS, because Pete Barbe had a similar problem > as seen at http://mailman.isi.edu/pipermail/ns-users/2004-December/ > 046055.html > Please tell me if I have to switch versions of NS. ??????? Hi, the EDCA model was released for ns-2.28. Just download this version of ns-2 (http://www.isi.edu/nsnam/dist/ns-allinone-2.28.tar.gz) and install it. Afterwards, you can apply the EDCA patch. Best regards, Sven > I do not know how to switch versions of NS. This is because I am > new to NS. > Can someone please give me quick advice on how to switch > versions. ???? > Is their a quick way??? > > Thank you very much! > > Here is my Make problem: > > 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*, double)': > mac/802_11e/mac-802_11e.cc:72: error: `ETHER_HDR_LEN11' undeclared > (first use this function) > 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, not by `{...}' > mac/802_11e/mac-802_11e.cc: In constructor `Mac802_11e::Mac802_11e > (EDCF_PHY_MIB*, MAC_MIB*)': > mac/802_11e/mac-802_11e.cc:182: error: `ETHER_ACK_LEN' undeclared > (first use this function) > mac/802_11e/mac-802_11e.cc: In member function `virtual int > Mac802_11e::command(int, const char* const*)': > ./mac/mac-802_11.h:204: 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:204: 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::tx_resume()': > ./mac/mac-802_11.h:203: 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: 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 function) > mac/802_11e/mac-802_11e.cc:733: error: `ETHER_ACK_LEN' undeclared > (first use this function) > 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 function) > mac/802_11e/mac-802_11e.cc:780: error: `ETHER_CTS_LEN' undeclared > (first use this function) > mac/802_11e/mac-802_11e.cc: In member function `int > Mac802_11e::check_pktTx(int)': > mac/802_11e/mac-802_11e.cc:820: error: `ETHER_ACK_LEN' undeclared > (first use this function) > mac/802_11e/mac-802_11e.cc: In member function `void > Mac802_11e::sendRTS(int, int)': > ./mac/mac-802_11.h:203: 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 function) > mac/802_11e/mac-802_11e.cc:890: error: `ETHER_CTS_LEN' undeclared > (first use this function) > mac/802_11e/mac-802_11e.cc:894: error: `ETHER_ACK_LEN' undeclared > (first use this function) > mac/802_11e/mac-802_11e.cc: In member function `void > Mac802_11e::sendCTS(int, int, double)': > mac/802_11e/mac-802_11e.cc:912: error: `ETHER_CTS_LEN' undeclared > (first use this function) > 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 function) > 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 function) > mac/802_11e/mac-802_11e.cc:1020: error: `ETHER_ACK_LEN' undeclared > (first use this function) > mac/802_11e/mac-802_11e.cc: In member function `void > Mac802_11e::RetransmitRTS(int)': > ./mac/mac-802_11.h:204: 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 function) > mac/802_11e/mac-802_11e.cc: In member function `void > Mac802_11e::RetransmitDATA(int)': > ./mac/mac-802_11.h:203: 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:204: 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:205: 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 function) > > > > Michael, DCU, Dublin, Ireland