help me :::WiMAX Module for ns-2 Simulator under Linux redhut ent.5

plz some bady help me
i doing my Bsc project on Wimax and i have module on ns-2
this WiMAX Module for ns-2 Simulator is post on this page
#-Link-Snipped-#
i use linux (redhat enterprise) with NS-2.33
i do all instructions , but when i am doing last one ( make )
this error is show :
-------------------------------------------------------------------------------------------------
[eng@localhost ns-2.33]$ make
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/home/eng/ns-allinone-2.33/tclcl-1.19 -I/home/eng/ns-allinone-2.33/otcl -I/home/eng/ns-allinone-2.33/include -I/home/eng/ns-allinone-2.33/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
[eng@localhost ns-2.33]$
--------------------------------------------------------------------------------------------------
what shold i do .................?
😕

Replies

  • Raviteja.g
    Raviteja.g
    If observe in the link he had given that

    • If you install in Linux O.S., then using "make" instruction will have some errors to happen so that please refer to the file. (#-Link-Snipped-# 172KB)
    so you can refer to that file and check it out.
  • Raviteja.g
    Raviteja.g
    And one more thing you had posted this already in electronics forum.
    Please try to avoid the repeated posts and stop posting new threads which are already existing
    ok
  • yghost
    yghost
    the pdf file does not solve this problem 😔

    if any one know how to solve it ??????????
  • tussar01
    tussar01
    yghost
    plz some bady help me
    i doing my Bsc project on Wimax and i have module on ns-2
    this WiMAX Module for ns-2 Simulator is post on this page
    #-Link-Snipped-#
    i use linux (redhat enterprise) with NS-2.33
    i do all instructions , but when i am doing last one ( make )
    this error is show :
    -------------------------------------------------------------------------------------------------
    [eng@localhost ns-2.33]$ make
    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/home/eng/ns-allinone-2.33/tclcl-1.19 -I/home/eng/ns-allinone-2.33/otcl -I/home/eng/ns-allinone-2.33/include -I/home/eng/ns-allinone-2.33/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
    [eng@localhost ns-2.33]$
    --------------------------------------------------------------------------------------------------
    what shold i do .................?
    😕

    u may use fc9 with ns-2.31 & wimax module for ns-2.31.
    i think it will solve ur problem
    module for 2.33 have some bug.
    i just complete creating a wimax network using ns2

    for further info plz : #-Link-Snipped-#
  • tussar01
    tussar01
    u may use fc9 with ns-2.31 & wimax module for ns-2.31.
    i think it will solve ur problem
    module for 2.33 have some bug.
    i just complete creating a wimax network using ns2

    for further info plz : #-Link-Snipped-#
  • mosss
    mosss
    found the same problem: it seems related to ns-2 ver 2.33, since MAC variables are structured differently from what expected in the wimax module.
    now, i am downloading ver 2.29 and trying again
  • mosss
    mosss
    could you make any comparison of different system simulators for wimax?
    which wimax module do you use ? (NDSL, unicamp, NIST)

    thanks

    gian paolo

You are reading an archived discussion.

Related Posts

Hello Everyone! Shruti here. I am pursuing diploma engg. i am a proud crazy Electronics Engineer! I m in final year right now. I dont have depth information as all...
Name: Well I won't admit my real name for all to see, so for all the fellow CEans you may refer to me as BR, Black_Rose or Maya =) Engineering...
OK Guys, After finding lot of Java users here, I thought of starting this thread where questions on Java (from simple ones to higher ones ) will be asked, not...
Hello folks, I've been looking for some decent wheelchair lift sketches or planes for my project. Could anyone be kind enough to help me look for those? Me and my...
hay friends i have written this programme to print prime noumber but it did not give me desired result so can any one herlp me.😕 Private Sub Form_Load() 'this programm...