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 [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
