Class RSVP Error in Inet

26 views
Skip to first unread message

twisha dhingra

unread,
May 10, 2020, 8:11:02 AM5/10/20
to OMNeT++ Users
Hi,

I am building Inet 2.1.0 and getting these RSVP errors. Can somebody plz help.

Thanks


**** Build of configuration gcc-debug for project inet ****

make MODE=debug CONFIGNAME=gcc-debug all 
cd src && make
make[1]: Entering directory `/c/Users/nat/Desktop/omnetpp-4.2-src-windows/omnetpp-4.2/inet-2.1.0-src/inet/src'
g++ -c -g -Wall -I/usr/include -fno-stack-protector -DXMLPARSER=libxml -DWITH_PARSIM -DWITH_NETBUILDER -DWITH_TCP_COMMON -DWITH_TCP_INET -DWITH_IPv4 -DWITH_IPv6 -DWITH_xMIPv6 -DWITH_UDP -DWITH_RTP -DWITH_SCTP -DWITH_DHCP -DWITH_ETHERNET -DWITH_PPP -DWITH_EXT_IF -DWITH_MPLS -DWITH_OSPFv2 -DWITH_BGPv4 -DWITH_TRACI -DWITH_MANET -DINET_EXPORT -I. -Iapplications -Iapplications/dhcp -Iapplications/ethernet -Iapplications/generic -Iapplications/httptools -Iapplications/pingapp -Iapplications/rtpapp -Iapplications/sctpapp -Iapplications/tcpapp -Iapplications/traci -Iapplications/udpapp -Iapplications/voip -Ibase -Ibattery -Ibattery/models -Ilinklayer -Ilinklayer/contract -Ilinklayer/ethernet -Ilinklayer/ethernet/switch -Ilinklayer/ext -Ilinklayer/ieee80211 -Ilinklayer/ieee80211/mac -Ilinklayer/ieee80211/mgmt -Ilinklayer/ieee80211/radio -Ilinklayer/ieee80211/radio/errormodel -Ilinklayer/ppp -Ilinklayer/queue -Ilinklayer/radio -Ilinklayer/radio/propagation -Imobility -Imobility/models -Inetworklayer -Inetworklayer/arp -Inetworklayer/autorouting -Inetworklayer/autorouting/ipv4 -Inetworklayer/autorouting/ipv6 -Inetworklayer/bgpv4 -Inetworklayer/bgpv4/BGPMessage -Inetworklayer/common -Inetworklayer/contract -Inetworklayer/diffserv -Inetworklayer/extras -Inetworklayer/icmpv6 -Inetworklayer/internetcloud -Inetworklayer/ipv4 -Inetworklayer/ipv6 -Inetworklayer/ipv6tunneling -Inetworklayer/ldp -Inetworklayer/manetrouting -Inetworklayer/manetrouting/aodv -Inetworklayer/manetrouting/aodv/aodv-uu -Inetworklayer/manetrouting/base -Inetworklayer/manetrouting/batman -Inetworklayer/manetrouting/batman/batmand -Inetworklayer/manetrouting/batman/batmand/orig -Inetworklayer/manetrouting/dsdv -Inetworklayer/manetrouting/dsr -Inetworklayer/manetrouting/dsr/dsr-uu -Inetworklayer/manetrouting/dymo -Inetworklayer/manetrouting/dymo/dymoum -Inetworklayer/manetrouting/dymo_fau -Inetworklayer/manetrouting/olsr -Inetworklayer/mpls -Inetworklayer/ospfv2 -Inetworklayer/ospfv2/interface -Inetworklayer/ospfv2/messagehandler -Inetworklayer/ospfv2/neighbor -Inetworklayer/ospfv2/router -Inetworklayer/rsvp_te -Inetworklayer/ted -Inetworklayer/xmipv6 -Inodes -Inodes/bgp -Inodes/ethernet -Inodes/httptools -Inodes/inet -Inodes/internetcloud -Inodes/ipv6 -Inodes/mpls -Inodes/ospfv2 -Inodes/wireless -Inodes/xmipv6 -Itransport -Itransport/contract -Itransport/rtp -Itransport/rtp/profiles -Itransport/rtp/profiles/avprofile -Itransport/sctp -Itransport/tcp -Itransport/tcp/flavours -Itransport/tcp/queues -Itransport/tcp_common -Itransport/udp -Iutil -Iutil/headerserializers -Iutil/headerserializers/headers -Iutil/headerserializers/ipv4 -Iutil/headerserializers/ipv4/headers -Iutil/headerserializers/sctp -Iutil/headerserializers/sctp/headers -Iutil/headerserializers/tcp -Iutil/headerserializers/tcp/headers -Iutil/headerserializers/udp -Iutil/headerserializers/udp/headers -Iworld -Iworld/annotations -Iworld/httptools -Iworld/obstacles -Iworld/powercontrol -Iworld/radio -Iworld/scenario -Iworld/traci -Ic:/Users/nat/Desktop/omnetpp-4.2-src-windows/omnetpp-4.2/include -o ../out/gcc-debug/src/networklayer/rsvp_te/RSVP.o networklayer/rsvp_te/RSVP.cc
In file included from networklayer/rsvp_te/RSVPPathMsg_m.h:29:0,
                 from networklayer/rsvp_te/RSVPPathMsg.h:19,
                 from networklayer/rsvp_te/RSVP.h:24,
                 from networklayer/rsvp_te/RSVP.cc:15:
networklayer/rsvp_te/RSVPPacket.h:30:1: error: expected class-name before '{' token
networklayer/rsvp_te/RSVPPacket.h: In constructor 'RSVPPacket::RSVPPacket(const char*, int)':
networklayer/rsvp_te/RSVPPacket.h:32:57: error: class 'RSVPPacket' does not have any field named 'RSVPPacket_Base'
networklayer/rsvp_te/RSVPPacket.h:32:101: error: 'class RSVPPacket' has no member named 'rsvpKind_var'
networklayer/rsvp_te/RSVPPacket.h: In copy constructor 'RSVPPacket::RSVPPacket(const RSVPPacket&)':
networklayer/rsvp_te/RSVPPacket.h:33:43: error: class 'RSVPPacket' does not have any field named 'RSVPPacket_Base'
networklayer/rsvp_te/RSVPPacket.h: In member function 'RSVPPacket& RSVPPacket::operator=(const RSVPPacket&)':
networklayer/rsvp_te/RSVPPacket.h:34:53: error: 'RSVPPacket_Base' has not been declared
networklayer/rsvp_te/RSVPPacket.h: In member function 'IPv4Address RSVPPacket::getDestAddress()':
networklayer/rsvp_te/RSVPPacket.h:37:60: error: 'getSession' was not declared in this scope
networklayer/rsvp_te/RSVPPacket.h: In member function 'int RSVPPacket::getTunnelId()':
networklayer/rsvp_te/RSVPPacket.h:38:52: error: 'getSession' was not declared in this scope
networklayer/rsvp_te/RSVPPacket.h: In member function 'int RSVPPacket::getExTunnelId()':
networklayer/rsvp_te/RSVPPacket.h:39:52: error: 'getSession' was not declared in this scope
networklayer/rsvp_te/RSVPPacket.h: In member function 'int RSVPPacket::getSetupPri()':
networklayer/rsvp_te/RSVPPacket.h:40:52: error: 'getSession' was not declared in this scope
networklayer/rsvp_te/RSVPPacket.h: In member function 'int RSVPPacket::getHoldingPri()':
networklayer/rsvp_te/RSVPPacket.h:41:52: error: 'getSession' was not declared in this scope
networklayer/rsvp_te/RSVPPacket.h: In member function 'bool RSVPPacket::isInSession(SessionObj_t*)':
networklayer/rsvp_te/RSVPPacket.h:43:27: error: 'getSession' was not declared in this scope
In file included from networklayer/rsvp_te/RSVP.h:24:0,
                 from networklayer/rsvp_te/RSVP.cc:15:
networklayer/rsvp_te/RSVPPathMsg.h: At global scope:
networklayer/rsvp_te/RSVPPathMsg.h:31:53: error: 'PATH_MESSAGE' was not declared in this scope
networklayer/rsvp_te/RSVPPathMsg.h:57:54: error: 'PTEAR_MESSAGE' was not declared in this scope
networklayer/rsvp_te/RSVPPathMsg.h:78:55: error: 'PERROR_MESSAGE' was not declared in this scope
In file included from networklayer/rsvp_te/RSVP.h:25:0,
                 from networklayer/rsvp_te/RSVP.cc:15:
networklayer/rsvp_te/RSVPResvMsg.h:31:53: error: 'RESV_MESSAGE' was not declared in this scope
networklayer/rsvp_te/RSVPResvMsg.h:50:54: error: 'RTEAR_MESSAGE' was not declared in this scope
networklayer/rsvp_te/RSVPResvMsg.h:69:55: error: 'RERROR_MESSAGE' was not declared in this scope
In file included from networklayer/rsvp_te/RSVPHelloMsg.h:19:0,
                 from networklayer/rsvp_te/RSVP.h:26,
                 from networklayer/rsvp_te/RSVP.cc:15:
networklayer/rsvp_te/RSVPHello_m.h:74:1: error: expected class-name before '{' token
In file included from networklayer/rsvp_te/RSVP.cc:15:0:
networklayer/rsvp_te/RSVP.h:203:37: error: 'RSVPMessage' has not been declared
networklayer/rsvp_te/RSVP.cc: In member function 'virtual void RSVP::processHELLO_TIMER(HelloTimerMsg*)':
networklayer/rsvp_te/RSVP.cc:461:11: error: 'class RSVPHelloMsg' has no member named 'setByteLength'
networklayer/rsvp_te/RSVP.cc:463:24: error: no matching function for call to 'RSVP::sendToIP(RSVPHelloMsg*&, IPv4Address&)'
networklayer/rsvp_te/RSVP.cc:463:24: note: candidate is:
networklayer/rsvp_te/RSVP.h:245:18: note: virtual void RSVP::sendToIP(cMessage*, IPv4Address)
networklayer/rsvp_te/RSVP.h:245:18: note:   no known conversion for argument 1 from 'RSVPHelloMsg*' to 'cMessage*'
networklayer/rsvp_te/RSVP.cc: In member function 'virtual void RSVP::refreshPath(RSVP::PathStateBlock_t*)':
networklayer/rsvp_te/RSVP.cc:572:45: error: the default argument for parameter 1 of 'RSVPPathMsg::RSVPPathMsg(const char*, int)' has not yet been parsed
networklayer/rsvp_te/RSVP.cc:574:9: error: 'class RSVPPathMsg' has no member named 'setSession'
networklayer/rsvp_te/RSVP.cc:588:9: error: 'class RSVPPathMsg' has no member named 'setByteLength'
networklayer/rsvp_te/RSVP.cc:594:25: error: no matching function for call to 'RSVP::sendToIP(RSVPPathMsg*&, IPv4Address&)'
networklayer/rsvp_te/RSVP.cc:594:25: note: candidate is:
networklayer/rsvp_te/RSVP.h:245:18: note: virtual void RSVP::sendToIP(cMessage*, IPv4Address)
networklayer/rsvp_te/RSVP.h:245:18: note:   no known conversion for argument 1 from 'RSVPPathMsg*' to 'cMessage*'
networklayer/rsvp_te/RSVP.cc: In member function 'virtual void RSVP::refreshResv(RSVP::ResvStateBlock_t*, IPv4Address)':
networklayer/rsvp_te/RSVP.cc:629:50: error: the default argument for parameter 1 of 'RSVPResvMsg::RSVPResvMsg(const char*, int)' has not yet been parsed
networklayer/rsvp_te/RSVP.cc:633:10: error: 'class RSVPResvMsg' has no member named 'setSession'
networklayer/rsvp_te/RSVP.cc:681:10: error: 'class RSVPResvMsg' has no member named 'setByteLength'
networklayer/rsvp_te/RSVP.cc:683:23: error: no matching function for call to 'RSVP::sendToIP(RSVPResvMsg*&, IPv4Address&)'
networklayer/rsvp_te/RSVP.cc:683:23: note: candidate is:
networklayer/rsvp_te/RSVP.h:245:18: note: virtual void RSVP::sendToIP(cMessage*, IPv4Address)
networklayer/rsvp_te/RSVP.h:245:18: note:   no known conversion for argument 1 from 'RSVPResvMsg*' to 'cMessage*'
networklayer/rsvp_te/RSVP.cc: In member function 'virtual RSVP::ResvStateBlock_t* RSVP::createRSB(RSVPResvMsg*)':
networklayer/rsvp_te/RSVP.cc:956:34: error: 'class RSVPResvMsg' has no member named 'getSession'
networklayer/rsvp_te/RSVP.cc: In member function 'virtual RSVP::PathStateBlock_t* RSVP::createPSB(RSVPPathMsg*)':
networklayer/rsvp_te/RSVP.cc:1201:56: error: 'class RSVPPathMsg' has no member named 'getSession'
networklayer/rsvp_te/RSVP.cc:1214:34: error: 'class RSVPPathMsg' has no member named 'getSession'
networklayer/rsvp_te/RSVP.cc: In member function 'virtual void RSVP::handleMessage(cMessage*)':
networklayer/rsvp_te/RSVP.cc:1322:5: error: 'RSVPMessage' was not declared in this scope
networklayer/rsvp_te/RSVP.cc:1322:18: error: 'rMsg' was not declared in this scope
networklayer/rsvp_te/RSVP.cc:1322:38: error: expected type-specifier before 'RSVPMessage'
networklayer/rsvp_te/RSVP.cc:1322:38: error: expected '>' before 'RSVPMessage'
networklayer/rsvp_te/RSVP.cc:1322:38: error: expected '(' before 'RSVPMessage'
networklayer/rsvp_te/RSVP.cc:1322:50: error: expected primary-expression before '>' token
networklayer/rsvp_te/RSVP.cc:1322:56: error: expected ')' before ';' token
networklayer/rsvp_te/RSVP.cc: At global scope:
networklayer/rsvp_te/RSVP.cc:1338:31: error: variable or field 'processRSVPMessage' declared void
networklayer/rsvp_te/RSVP.cc:1338:31: error: 'RSVPMessage' was not declared in this scope
networklayer/rsvp_te/RSVP.cc:1338:44: error: 'msg' was not declared in this scope
networklayer/rsvp_te/RSVPPacket.h: In member function 'IPv4Address RSVPPacket::getDestAddress()':
networklayer/rsvp_te/RSVPPacket.h:37:74: warning: control reaches end of non-void function [-Wreturn-type]
make[1]: *** [../out/gcc-debug/src/networklayer/rsvp_te/RSVP.o] Error 1
make[1]: Leaving directory `/c/Users/nat/Desktop/omnetpp-4.2-src-windows/omnetpp-4.2/inet-2.1.0-src/inet/src'
make: *** [all] Error 2

**** Build Finished ****

Reply all
Reply to author
Forward
0 new messages