[ns] Help - Wimax for NS-2 (ns-allinone-2.33/Wimaxv2.03/ubuntu 8.10)

Deepti Chandra deeptichandraorama at gmail.com
Sun Mar 22 15:09:02 PDT 2009


Hello,
I successfully completed the installation of ns-allinone-2.33 following the
steps mentioned in http://ns-2.blogspot.com/

then i did the following

#  Unzip the ns-2 WiMAXv 2.03 module source code file which including three
files : mac-802_16, common, and queue.
# Put the "mac-802_16" directory into \ns-allinone-2.33\ns-2.33\mac.
# Put the files which are in common and queue respectively into
\ns-allinone-2.33\ns-2.33\common and \ns-allinone-2.33\ns-2.33\queue.
# Modify the Makefile.
    * Add that after the sentence mac/mac-802_3.o in the Makefile.
    * mac/mac-802_16/packet-802_16.o \
      mac/mac-802_16/timer-802_16.o \
      mac/mac-802_16/mac-802_16.o \
      mac/mac-802_16/traffic/UGS_traffic.o \
      mac/mac-802_16/traffic/ertPS_traffic.o \
      mac/mac-802_16/traffic/rtPS_traffic.o \
      mac/mac-802_16/traffic/nrtPS_traffic.o \
      mac/mac-802_16/traffic/BE_traffic.o \
# To compile your files by excuting "make clean" then "make".

while doing make i get the following:

/*
common/packet.h:303: warning: deprecated conversion from string constant to
‘char*’
common/packet.h:304: warning: deprecated conversion from string constant to
‘char*’
common/packet.h:305: warning: deprecated conversion from string constant to
‘char*’
common/packet.h:307: warning: deprecated conversion from string constant to
 ‘char*’
common/packet.cc: At global scope:
common/packet.cc:44: error: conflicting declaration ‘char** p_info::name_’
common/packet.h:326: error: ‘p_info::name_’ has a previous declaration as
‘char* p_info::name_ [76]’
common/packet.cc:44: error: declaration of ‘char* p_info::name_ [76]’
outside
of class is not definition
common/packet.cc:45: error: ‘unsigned int p_info::nPkt_’ is not a static
member
of ‘class p_info’
common/packet.cc:46: error: expected constructor, destructor, or type
conversion before ‘*’ token
common/packet.cc:48: error: no ‘int p_info::addPacket(char*)’ member
function
declared in class ‘p_info’
make: *** [common/packet.o] Error 1
*/

please help me ...... what should I do..... I am using
ns-allinone-2.33/Wimaxv2.03/ubuntu 8.10


More information about the Ns-users mailing list