ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] Help


From: Werner Dittmann
Subject: Re: [Ccrtp-devel] Help
Date: Wed, 18 Apr 2007 20:52:31 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20060911)

IMHO you need to provide the commoncpp2 as well, for example
"-lccgnu2". If you use some extensions you have to specify
"-lccext2" (is an extension to commoncpp2).

Regards,
Werner

address@hidden wrote:
> Hi,
> 
> When I tried out the demos provide by ccrtp as you told me. However, there
> are fatal problems when I build the source demo files such as rtpsend.cpp,
> and I used the command like
> this,
> 
> "g++ -lccrtp1 -o rtpsend rtpsend.cpp" .
> 
> The complie result is like this:
> 
> "/tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTC6Sender136_N3ost16QueueRTCPManagerE[vtable
> for Sender]+0x88): undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTC6Sender136_N3ost16QueueRTCPManagerE[vtable
> for Sender]+0x8c): undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTCN3ost22SingleThreadRTPSessionINS_14DualRTPChannelINS_20RTPBaseUDPIPv4SocketEEES3_NS_8AVPQueueEEE136_NS_16QueueRTCPManagerE[vtable
> for
> ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ost::AVPQueue>]+0x88):
> undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTCN3ost22SingleThreadRTPSessionINS_14DualRTPChannelINS_20RTPBaseUDPIPv4SocketEEES3_NS_8AVPQueueEEE136_NS_16QueueRTCPManagerE[vtable
> for
> ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ost::AVPQueue>]+0x8c):
> undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTCN3ost15TRTPSessionBaseINS_14DualRTPChannelINS_20RTPBaseUDPIPv4SocketEEES3_NS_8AVPQueueEEE0_NS_16QueueRTCPManagerE[vtable
> for ost::TRTPSessionBase<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ost::AVPQueue>]+0x88):
> undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTCN3ost15TRTPSessionBaseINS_14DualRTPChannelINS_20RTPBaseUDPIPv4SocketEEES3_NS_8AVPQueueEEE0_NS_16QueueRTCPManagerE[vtable
> for ost::TRTPSessionBase<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>, ost::AVPQueue>]+0x8c):
> undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTCN3ost8AVPQueueE0_NS_16QueueRTCPManagerE[vtable
> for ost::AVPQueue]+0x88): undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o:(.gnu.linkonce.r._ZTCN3ost8AVPQueueE0_NS_16QueueRTCPManagerE[vtable
> for ost::AVPQueue]+0x8c): undefined reference to `non-virtual thunk to
> ost::QueueRTCPManager::~QueueRTCPManager()'
> /tmp/ccRkVAmw.o: In function
> `ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::AVPQueue>::~SingleThreadRTPSession()':rtpsend.cpp:(.gnu.linkonce.t._ZN3ost22SingleThreadRTPSessionINS_14DualRTPChannelINS_20RTPBaseUDPIPv4SocketEEES3_NS_8AVPQueueEED0Ev[ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::AVPQueue>::~SingleThreadRTPSession()]+0xe1): undefined reference to
> `ost::Thread::isRunning() const'
> /tmp/ccRkVAmw.o: In function
> `ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::AVPQueue>::~SingleThreadRTPSession()':rtpsend.cpp:(.gnu.linkonce.t._ZN3ost22SingleThreadRTPSessionINS_14DualRTPChannelINS_20RTPBaseUDPIPv4SocketEEES3_NS_8AVPQueueEED1Ev[ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::AVPQueue>::~SingleThreadRTPSession()]+0xe1): undefined reference to
> `ost::Thread::isRunning() const'
> /tmp/ccRkVAmw.o: In function
> `ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::AVPQueue>::~SingleThreadRTPSession()':rtpsend.cpp:(.gnu.linkonce.t._ZN3ost22SingleThreadRTPSessionINS_14DualRTPChannelINS_20RTPBaseUDPIPv4SocketEEES3_NS_8AVPQueueEED2Ev[ost::SingleThreadRTPSession<ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::DualRTPChannel<ost::RTPBaseUDPIPv4Socket>,
> ost::AVPQueue>::~SingleThreadRTPSession()]+0x9f): undefined reference to
> `ost::Thread::isRunning() const'
> /tmp/ccRkVAmw.o: In function
> `ost::OutgoingDataQueue::~OutgoingDataQueue()':rtpsend.cpp:(.gnu.linkonce.t._ZN3ost17OutgoingDataQueueD2Ev[ost::OutgoingDataQueue::~OutgoingDataQueue()]+0x10b):
> undefined reference to
> `ost::DestinationListHandlerIPV6::~DestinationListHandlerIPV6()'
> :rtpsend.cpp:(.gnu.linkonce.t._ZN3ost17OutgoingDataQueueD2Ev[ost::OutgoingDataQueue::~OutgoingDataQueue()]+0x134):
> undefined reference to
> `ost::DestinationListHandlerIPV6::~DestinationListHandlerIPV6()'
> /tmp/ccRkVAmw.o: In function
> `ost::OutgoingDataQueue::~OutgoingDataQueue()':rtpsend.cpp:(.gnu.linkonce.t._ZN3ost17OutgoingDataQueueD0Ev[ost::OutgoingDataQueue::~OutgoingDataQueue()]+0x111):
> undefined reference to
> `ost::DestinationListHandlerIPV6::~DestinationListHandlerIPV6()'
> :rtpsend.cpp:(.gnu.linkonce.t._ZN3ost17OutgoingDataQueueD0Ev[ost::OutgoingDataQueue::~OutgoingDataQueue()]+0x13a):
> undefined reference to
> `ost::DestinationListHandlerIPV6::~DestinationListHandlerIPV6()'
> /tmp/ccRkVAmw.o: In function
> `ost::OutgoingDataQueue::~OutgoingDataQueue()':rtpsend.cpp:(.gnu.linkonce.t._ZN3ost17OutgoingDataQueueD1Ev[ost::OutgoingDataQueue::~OutgoingDataQueue()]+0x111):
> undefined reference to
> `ost::DestinationListHandlerIPV6::~DestinationListHandlerIPV6()'
> /tmp/ccRkVAmw.o:rtpsend.cpp:(.gnu.linkonce.t._ZN3ost17OutgoingDataQueueD1Ev[ost::OutgoingDataQueue::~OutgoingDataQueue()]+0x13a):
> more undefined references to
> `ost::DestinationListHandlerIPV6::~DestinationListHandlerIPV6()' follow
> collect2: ld returned 1 exit status"
> 
> And I really do not know what are the reasons, as I have installed the
> ccrtp and commoncpp2 packages and linked the library ccrtp1.
> 
> 
> 
> _______________________________________________
> Ccrtp-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/ccrtp-devel
> 





reply via email to

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