[h323plus] Unable to compile h323plus with "P_QOS" disabled/missing

Simon Horne s.horne at spranto.com
Thu Jan 24 04:08:19 EST 2013


Jan

You beat me to the commit. :)
I agree with Jan, you should stick with PTLIB 2.10.9 available either
directly from the SVN or downloadable from h323plus website or the project
page on sourceforge.

Simon


-----Original Message-----
From: h323plus-bounces at lists.packetizer.com
[mailto:h323plus-bounces at lists.packetizer.com] On Behalf Of Jan Willamowius
Sent: Thursday, 24 January 2013 6:49 PM
To: h323plus
Subject: Re: [h323plus] Unable to compile h323plus with "P_QOS"
disabled/missing

Hi Josh,

after fixing those 2 lines in h323caps.cxx in the CVS it compiles with PTLib
2.10.9 with QoS disabled and it should compile with PTLib trunk, too.

Personally, I'd consider sticking to PTLib 2.10.9. Thats the reccomended
version for GnuGk and I'm not sure I'll follow along to 2.12.x.

Regards,
Jan

J.C Mercier wrote:
> Hi Jan,
> 
> below are a few of the errors, some of which i tried fixing. They are 
> all most due to not checking whether "P_QOS" is defined for some of 
> the cude that uses the QoS stuff like in rtp.cxx, the "PBoolean
RTP_UDP::Open(.. )"
> has calls to QoS variables outside the #if P_QOS check, and also 
> creates the sockets which takes QoS variables as parameters.
> 
> I'm sure this might require a bit of work so i'll probably have to 
> work with the ptlib version that complies with the current h323plus
version.
> 
> ---- some of the errors with VS2008 Win7 ..........
> 1>.\src\h323caps.cxx(868) : error C2653: 'PQoS' : is not a class or
> namespace name
> 1>.\src\h323caps.cxx(868) : error C2065: 'guaranteedDSCP' : undeclared
> identifier
> 1>.\src\h323caps.cxx(1278) : error C2653: 'PQoS' : is not a class or
> namespace name
> 1>.\src\h323caps.cxx(1278) : error C2065: 'controlledLoadDSCP' : 
> 1>undeclared
> identifier
> 
> 
> Thanks for the quick response. Always appreciate all the help from
everyone.
> 
> Regards,
> Josh
> 
> On Wed, Jan 23, 2013 at 5:58 PM, Jan Willamowius <jan at willamowius.de>
wrote:
> 
> > Hi Josh,
> >
> > I'm not working with the latest PTLib because it breaks the H323Plus 
> > build system on Unix, but if you mail me your compiler error I can 
> > probably fix it in the CVS.
> >
> > Regards,
> > Jan
> >
> > --
> > Jan Willamowius, Founder of the GNU Gatekeeper Project EMail  : 
> > jan at willamowius.de
> > Website: http://www.gnugk.org
> > Support: http://www.willamowius.com/gnugk-support.html
> >
> > Relaxed Communications GmbH
> > Frahmredder 91
> > 22393 Hamburg
> > Geschäftsführer: Jan Willamowius
> > HRB 125261 (Amtsgericht Hamburg)
> > USt-IdNr: DE286003584
> >
> > J.C Mercier wrote:
> > > I downloaded the current trunk version of ptlib which compiles no
> > problem,
> > > but when attempting to compile the h323plus library, there seems 
> > > to fail because "P_QOS" is no longer part of ptlib.
> > >
> > > Has anyone encounter this problem?
> > >
> > > Your help/suggestions will be greatly appreciated.
> > >
> > > Thanks
> > >
> > > Josh
> >
> >


--
Jan Willamowius, jan at willamowius.de, http://www.gnugk.org/





More information about the h323plus mailing list