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
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' : 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
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@lists.packetizer.com [mailto:h323plus-bounces@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@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
-- Jan Willamowius, jan@willamowius.de, http://www.gnugk.org/
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
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
Hi Dennis,
there is no quick fix for that. The Linux build system became incompatible in PTLib 2.11.1. Thats one of the reasons why I don't even consider switching to a newer PTLib for GnuGk.
Somebody should write new makefiles that detect PTLib in ./configure like any other library and not just include a Makefile.
Regards, Jan
Denis Kochmashev "Enforta" wrote:
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
participants (4)
-
Denis Kochmashev "Enforta"
-
J.C Mercier
-
Jan Willamowius
-
Simon Horne