ccrtp-devel
[Top][All Lists]
Advanced

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

[Ccrtp-devel] Help!!!


From: s050893
Subject: [Ccrtp-devel] Help!!!
Date: Thu, 19 Apr 2007 03:26:23 +0200 (Romance Daylight Time)
User-agent: SquirrelMail/1.4.2

Hi,

When I try out compiling the C++ source files which use ccrtp, I use the
following command,

"g++ -lccrtp1 -o example example.cpp", and
"g++ -lccrtp1 -lccgnu2 -lccext2 -o example example.cpp" as well

However, there are always some fatal problems, such as

"/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. If someone has
succeeded in compiling the files, Can you tell me your compiling commands
with g++. Thanks a lot.





reply via email to

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