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

Jan Willamowius jan at willamowius.de
Thu Jan 24 05:00:44 EST 2013


>From what I read, IP_TOS is back in Win8 and Server 2012.

See (scroll down to "Windows Support for IP_PROTO options")
http://msdn.microsoft.com/en-us/library/windows/desktop/ms738586%28v=vs.85%29.aspx

Anybody want to test and report back to the list ?

Regards,
Jan

Robert Jongbloed wrote:
> I think the only reason to go to 2.12.x or later is QoS under Windows. 
> Basically, the IP_TOS does not work on Vista and later. Microsoft have 
> made it so it returns success, but doesn't actually do anything! How 
> good is that?
> 
> If no Windows, then no reason!
> 
> FYI there is the macro PTLIB_CHECK_VERSION(major,minor,build) that was 
> added in the late 2.10's to allow for conditional compile against 
> various PTLib versions. So,
> 
> #if PTLIB_CHECK_VERSION(2,12,0)
> // new stuff
> #else
> // old stuff
> #endif
> 
> *Robert Jongbloed*
> /OPAL/OpenH323/PTLib Architect and Co-founder./
> Commercial support at http://www.voxlucida.com.au
> 
> On 24/01/2013 7:48 PM, Jan Willamowius wrote:
> > 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 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