ccrtp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ccrtp-devel] Re: Bug report ccRTP - Multicast


From: Federico Montesino Pouzols
Subject: [Ccrtp-devel] Re: Bug report ccRTP - Multicast
Date: Mon, 3 Feb 2003 09:31:59 +0100
User-agent: Mutt/1.4i

        It is fixed in CVS. The patch is also attached to this mail.

On Sun, Feb 02, 2003 at 08:35:53PM +0100, Peter Gober wrote:
> Hi,
> 
> when compiling a program, that uses multicast sockets, i. e. contains a line 
> like
> 
>       RTPSocket s(InetMcastAddress("224.109.112.51"),5000); ,
> 
> I get lots of error messages from within ccRTPs include files (0.9.2 as well 
> as 1.0-pre2).
> 
> I use gcc 3.2 and the latest Common C++2 1.08.
> 
> Regards -
> 
> Peter
> 
> ---
> g++ -o receive receive.cpp -lccrtp1 -lccgnu2 -lccext2 -lpthread -lz -lxml2
> /usr/local/include/ccrtp/rtp.h: In member function `void
>    ost::TRTPSessionBase<RTPDataChannel, RTCPChannel, 
> ServiceQueue>::build(const
>    ost::InetMcastAddress&, short unsigned int, short unsigned int) [with
>    RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, 
> RTCPChannel
>    = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue =
>    ost::AVPQueue]':
> /usr/local/include/ccrtp/rtp.h:142:   instantiated from 
> `ost::TRTPSessionBase<RTPDataChannel, RTCPChannel, 
> ServiceQueue>::TRTPSessionBase(const ost::InetMcastAddress&, short unsigned 
> int, short unsigned int, unsigned int, ost::RTPApplication&) [with 
> RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, RTCPChannel 
> = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> /usr/local/include/ccrtp/rtp.h:426:   instantiated from 
> `ost::SingleThreadRTPSession<RTPDataChannel, RTCPChannel, 
> ServiceQueue>::SingleThreadRTPSession(const ost::InetMcastAddress&, short 
> unsigned int, short unsigned int, int, unsigned int, ost::RTPApplication&) 
> [with RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, 
> RTCPChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> receive.cpp:13:   instantiated from here
> /usr/local/include/ccrtp/rtp.h:282: `error' undeclared (first use this
>    function)
> /usr/local/include/ccrtp/rtp.h:282: (Each undeclared identifier is reported
>    only once for each function it appears in.)
> /usr/local/include/ccrtp/rtp.h:282: return-statement with a value, in function
>    declared with a void return type
> /usr/local/include/ccrtp/rtp.h: In member function `ost::Socket::Error
>    ost::TRTPSessionBase<RTPDataChannel, RTCPChannel,
>    ServiceQueue>::joinGroup(const ost::InetMcastAddress&) [with RTPDataChannel
>    = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, RTCPChannel =
>    ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue =
>    ost::AVPQueue]':
> /usr/local/include/ccrtp/rtp.h:292:   instantiated from `void 
> ost::TRTPSessionBase<RTPDataChannel, RTCPChannel, ServiceQueue>::build(const 
> ost::InetMcastAddress&, short unsigned int, short unsigned int) [with 
> RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, RTCPChannel 
> = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> /usr/local/include/ccrtp/rtp.h:142:   instantiated from 
> `ost::TRTPSessionBase<RTPDataChannel, RTCPChannel, 
> ServiceQueue>::TRTPSessionBase(const ost::InetMcastAddress&, short unsigned 
> int, short unsigned int, unsigned int, ost::RTPApplication&) [with 
> RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, RTCPChannel 
> = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> /usr/local/include/ccrtp/rtp.h:426:   instantiated from 
> `ost::SingleThreadRTPSession<RTPDataChannel, RTCPChannel, 
> ServiceQueue>::SingleThreadRTPSession(const ost::InetMcastAddress&, short 
> unsigned int, short unsigned int, int, unsigned int, ost::RTPApplication&) 
> [with RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, 
> RTCPChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> receive.cpp:13:   instantiated from here
> /usr/local/include/ccrtp/rtp.h:306: no matching function for call to `
>    ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>::joinGroup(const
>    ost::InetMcastAddress&)'
> /usr/local/include/ccrtp/rtp.h:292:   instantiated from `void 
> ost::TRTPSessionBase<RTPDataChannel, RTCPChannel, ServiceQueue>::build(const 
> ost::InetMcastAddress&, short unsigned int, short unsigned int) [with 
> RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, RTCPChannel 
> = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> /usr/local/include/ccrtp/rtp.h:142:   instantiated from 
> `ost::TRTPSessionBase<RTPDataChannel, RTCPChannel, 
> ServiceQueue>::TRTPSessionBase(const ost::InetMcastAddress&, short unsigned 
> int, short unsigned int, unsigned int, ost::RTPApplication&) [with 
> RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, RTCPChannel 
> = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> /usr/local/include/ccrtp/rtp.h:426:   instantiated from 
> `ost::SingleThreadRTPSession<RTPDataChannel, RTCPChannel, 
> ServiceQueue>::SingleThreadRTPSession(const ost::InetMcastAddress&, short 
> unsigned int, short unsigned int, int, unsigned int, ost::RTPApplication&) 
> [with RTPDataChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, 
> RTCPChannel = ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ServiceQueue = 
> ost::AVPQueue]'
> receive.cpp:13:   instantiated from here
> /usr/local/include/ccrtp/rtp.h:310: no matching function for call to `
>    ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>::leaveGroup(const
>    ost::InetMcastAddress&)'
> /usr/local/include/ccrtp/rtp.h:313: no matching function for call to `
>    ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>::joinGroup(const
>    ost::InetMcastAddress&)'
> /usr/local/include/ccrtp/rtp.h:315: no matching function for call to `
>    ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>::leaveGroup(const
>    ost::InetMcastAddress&)'
> make: *** [receive] Error 1
> 
> 

Attachment: mcast-patch.diff.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]