Hello, Simon!
There is one more issue when building H323Plus CVS with PTLib SVN. H323Plus tries to include lib.mak which PTLib SVN doesn't have any more:
gmake -C src debug
gmake[1]: Entering directory `/usr/local/ims/build_new/trunk/h323plus-cvs_latest/src'
Makefile:357: /usr/local/ims/build_new/trunk/ptlib/make/lib.mak: No such file or directory
gmake[1]: *** No rule to make target `/usr/local/ims/build_new/trunk/ptlib/make/lib.mak'. Stop.
gmake[1]: Leaving directory `/usr/local/ims/build_new/trunk/h323plus-cvs_latest/src'
gmake: *** [debug] Error 2
From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Simon Horne
Sent: Thursday, January 24, 2013 6:00 PM
To: 'J.C Mercier'; 'h323plus'
Subject: [Spam] Re: [h323plus] Unable to compile h323plus with "P_QOS" disabled/missing
Josh
H323plus CVS should now compile with ptlib SVN. There was a couple more fixes needed to be made.
Simon
From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of J.C Mercier
Sent: Thursday, 24 January 2013 2:29 PM
To: h323plus
Subject: Re: [h323plus] Unable to compile h323plus with "P_QOS" disabled/missing
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' : 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@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@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