Hi All,

I am getting make issues while making ns-2.33 after adding the the
IEEE802.16 module from http://ndsl.csie.cgu.edu.tw/wimax_ns2.php. The base
installation is nsallinone on a FC5 m/c. Your help on this is very much
appreciated.

Please find the error below.


Regards,
Kanagasudnaram K
0091-9980300885


FUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE
-Drng_test  -I. -I. -I/opt/NS2/tclcl-1.19 -I/opt/NS2/otcl -I/opt/NS2/include
-I/opt/NS2/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link
-I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing
-I./tools -I./classifier -I./mcast -I./diffusion3/lib/main
-I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns
-I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite
-I./wpan -o common/object.o common/object.cc
g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
-DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC
-DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I.
-I/opt/NS2/tclcl-1.19 -I/opt/NS2/otcl -I/opt/NS2/include -I/opt/NS2/include
-I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc
-I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier
-I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv
-I./satellite -I./wpan -o common/packet.o common/packet.cc
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’
common/packet.cc: In member function ‘int p_info::addPacket(char*)’:
common/packet.cc:50: error: ‘nPkt_’ was not declared in this scope
common/packet.cc:51: error: ‘initName’ was not declared in this scope
common/packet.cc:53: error: ‘nPkt_’ was not declared in this scope
common/packet.cc:55: error: ‘initName’ was not declared in this scope
make: *** [common/packet.o] Error 1
[EMAIL PROTECTED] ns-2.33]#

Reply via email to