[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Adam Williamson <awilliamson@m...>
 Subject :  Building YATE against h323plus and pwlib 1.12.0
 Date :  Thu, 27 Dec 2007 00:09:42 -0800
Hi, there. I'm currently switching Mandriva over to h323plus and pwlib
1.12.0 from voxgratia.org. YATE is one of the packages that builds
against pwlib / openh323 (h323plus). However, I'm getting a build
failure trying to rebuild it with h323plus 1.19.7 and pwlib 1.12.0:

----------------------

g++ -Wall   -I.. -I.. -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector --param=ssp-buffer-size=4  -fexceptions
-fomit-frame-pointer -march=i586 -mtune=generic
-fasynchronous-unwind-tables -O2 -fno-check-new  -fno-exceptions -fPIC
-DHAVE_GCC_FORMAT_CHECK  -export-dynamic -shared
-Wl,--unresolved-symbols=ignore-in-shared-libs
-Wl,--retain-symbols-file,/dev/null -L.. -lyate -o server/zapcard.yate
-I../libs/ysig -DNEW_ZAPTEL_LOCATION server/zapcard.cpp -lyatesig
g++ -Wall   -I.. -I.. -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector --param=ssp-buffer-size=4  -fexceptions
-fomit-frame-pointer -march=i586 -mtune=generic
-fasynchronous-unwind-tables -O2 -fno-check-new  -fno-exceptions -fPIC
-DHAVE_GCC_FORMAT_CHECK  -export-dynamic -shared
-Wl,--unresolved-symbols=ignore-in-shared-libs
-Wl,--retain-symbols-file,/dev/null -L.. -lyate -o h323chan.yate
-DPHAS_TEMPLATES -D_REENTRANT -DP_HAS_SEMAPHORES -I/usr/include/ptlib
-I/usr/include/openh323 h323chan.cpp -L/usr/lib -lopenh323 -L/usr/lib
-lpt
h323chan.cpp: In function 'void::ListRegisteredCaps(int)':
h323chan.cpp:618: error: conversion from
'__gnu_cxx::__normal_iterator, std::allocator >*,
std::vector,
std::allocator >, std::allocator, std::allocator > > > >' to non-scalar type
'__gnu_cxx::__normal_iterator > >' requested
h323chan.cpp:618: error: no match for 'operator!=' in 'find !=
list.std::vector<_Tp, _Alloc>::end [with _Tp = std::basic_string, std::allocator >, _Alloc =
std::allocator,
std::allocator > >]()'
h323chan.cpp: In member function 'virtual
H323Channel*::YateH323Connection::CreateRealTimeLogicalChannel(const H323Capability&, H323Channel::Directions, unsigned int, const H245_H2250LogicalChannelParameters*, RTP_QOS*)':
h323chan.cpp:1398: error: cannot allocate an object of abstract type
'::YateH323_ExternalRTPChannel'
h323chan.cpp:427: note:   because the following virtual functions are
pure within '::YateH323_ExternalRTPChannel':
/usr/include/openh323/channels.h:640: note: 	virtual BOOL
H323_RealTimeChannel::OnSendingAltPDU(H245_ArrayOf_GenericInformation&)
const
/usr/include/openh323/channels.h:653: note: 	virtual void
H323_RealTimeChannel::OnSendOpenAckAlt(H245_ArrayOf_GenericInformation&)
const
/usr/include/openh323/channels.h:670: note: 	virtual BOOL
H323_RealTimeChannel::OnReceivedAltPDU(const
H245_ArrayOf_GenericInformation&)
/usr/include/openh323/channels.h:686: note: 	virtual BOOL
H323_RealTimeChannel::OnReceivedAckAltPDU(const
H245_ArrayOf_GenericInformation&)

----------------------

same in the last stable release and current SVN. Does anyone know of a
fix for this? Thanks.
-- 
adamw