Menu

ccRTP Compilation Errors (rtp.h)

Help
Anonymous
2002-01-31
2002-01-31
  • Anonymous

    Anonymous - 2002-01-31

    I'm receiving the following error when running the make file associated with this project. 

    I was uable to compile the CommonC++ projects with no issues. 

    Has anyone seen this behavior or have any ideas?

    Thanks....

    Making all in src
    make[1]: Entering directory `/home/mkelly/ccrtp-0.6.0/src'
    /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -g -O2 -D_GNU_SOURCE -c packet.cpp
    rm -f .libs/packet.lo
    c++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -g -O2 -D_GNU_SOURCE -c packet.cpp  -fPIC -DPIC -o .libs/packet.lo
    In file included from private.h:53,
                     from packet.cpp:46:
    rtp.h:805: parse error before `,'
    rtp.h:824: `dummysource' was not declared in this scope
    rtp.h:824: non-member function `isWaiting (const RTPSource &)' cannot
    have `const' method qualifier
    rtp.h:835: non-member function `isCookedWaiting ()' cannot have `const'
    method qualifier
    rtp.h:843: non-member function `isSending ()' cannot have `const'
    method qualifier
    rtp.h:921: `dummysource' was not declared in this scope
    rtp.h:930: `dummysource' was not declared in this scope
    rtp.h:939: `dummysource' was not declared in this scope
    rtp.h:949: `dummysource' was not declared in this scope
    rtp.h:964: `dummysource' was not declared in this scope
    rtp.h:974: `dummysource' was not declared in this scope
    rtp.h:1038: non-member function `getCurrentTimestamp (rtp_payload_t)'
    cannot have `const' method qualifier
    rtp.h:1049: non-member function `getTimestampIncrement (unsigned int)'
    cannot have `const' method qualifier
    rtp.h: In function `void setSessionBandwidth (unsigned int)':
    rtp.h:1060: `sessionbw' undeclared (first use this function)
    rtp.h:1060: (Each undeclared identifier is reported only once for each
    function it appears in.)
    rtp.h: At top level:
    rtp.h:1075: non-member function `getRate (rtp_payload_t)' cannot have
    `const' method qualifier
    rtp.h:1084: non-member function `getPayloadType (const RTPSource &)'
    cannot have `const' method qualifier
    rtp.h:1096: non-member function `getSource (unsigned int)' cannot have
    `const' method qualifier
    rtp.h: In function `const RTPSource &getSource (unsigned int)':
    rtp.h:1096: cannot call member function `MembershipControl::getSource
    (unsigned int) const' without object
    rtp.h: In function `void setTypeOfService (type_of_service_t)':
    rtp.h:1112: `type_of_service' undeclared (first use this function)
    rtp.h: At top level:
    rtp.h:1148: non-member function `isActive ()' cannot have `const'
    method qualifier
    rtp.h: In function `bool isActive ()':
    rtp.h:1148: `active' undeclared (first use this function)
    rtp.h: In function `void setTimeout (unsigned int)':
    rtp.h:1158: `timeout' undeclared (first use this function)
    rtp.h: In function `void setExpired (unsigned int)':
    rtp.h:1170: `expired' undeclared (first use this function)
    rtp.h: At top level:
    rtp.h:1211: non-member function `getGlobalKitchenDuration ()' cannot
    have `const' method qualifier
    rtp.h: In function `microtimeout_t getGlobalKitchenDuration ()':
    rtp.h:1211: `kitchensize' undeclared (first use this function)
    rtp.h: In function `void setEndToEndDelay (unsigned int)':
    rtp.h:1229: `e2edelay' undeclared (first use this function)
    rtp.h: In function `void setSegmentSize (unsigned int)':
    rtp.h:1238: `segment' undeclared (first use this function)
    rtp.h: In function `bool isComplete ()':
    rtp.h:1252: `complete' undeclared (first use this function)
    rtp.h: In function `bool isMarked ()':
    rtp.h:1264: `marked' undeclared (first use this function)
    rtp.h: In function `void setTimeclock ()':
    rtp.h:1271: `timeclock' undeclared (first use this function)
    rtp.h: At top level:
    rtp.h:1289: non-member function `RTPSendCount ()' cannot have `const'
    method qualifier
    rtp.h: In function `uint32 RTPSendCount ()':
    rtp.h:1289: `sendcount' undeclared (first use this function)
    rtp.h: At top level:
    rtp.h:1299: non-member function `RTPOctetCount ()' cannot have `const'
    method qualifier
    rtp.h: In function `uint32 RTPOctetCount ()':
    rtp.h:1299: `octetcount' undeclared (first use this function)
    rtp.h: At top level:
    rtp.h:1301: parse error before `protected'
    rtp.h:1328: parse error before `,'
    rtp.h:

     
    • Anonymous

      Anonymous - 2002-01-31

          Please, note that a new project for ccRTP
      has been opened at Savannah. The version you are
      using (0.6.0) is rather old.

          Look at savannah.gnu.org/projects/ccrtp

          The current release is 0.7.2; upgrade and
      try.

          See you soon.

       
    • Anonymous

      Anonymous - 2002-01-31

      Thanks very much for the update.  The 0.7.2 drop builds cleanly.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.