Re: h323plus compilation problems

Jan Willamowius <[email protected]>
Newsgroups gmane.comp.telephony.openh323gk.user
Organization GNU Gatekeeper Project
Message-ID <[email protected]>
Hi again,

it looks like this is an issue with the 1.26.0 release of H323Plus.
There are 2 ways to avoid it:
- use ./configure --enable-h235
- use the latest CVS version of H323Plus

Regards,
Jan


Jan Willamowius wrote:
> Hi Juan,
> 
> which H323Plus version are you using and which parameters are you using
> with ./configure ?
> 
> I'm using the latest CVS and I don't see the compile error.
> 
> Regards,
> Jan
> 
> Juan Pablo Godoy Macari wrote:
> > Hello!
> > 
> > Thank you both for the answers!
> > 
> > As you said now I'm trying with PTLIB 2.10.9 and I'm getting this error
> > compiling h323plus:
> > 
> > h235auth.cxx: In member function â EURO ~void
> > H235Authenticators::PrepareSignalPDU(unsigned int, PASN_Array&, PASN_Array&,
> > PINDEX) constâ EURO (tm):
> > h235auth.cxx:449: error: â EURO ~m_maxTokenLengthâ EURO (tm) was not declared in this
> > scope
> > make[2]: *** [/usr/src/h323plus/lib/obj/h235auth.o] Error 1
> > make[2]: Leaving directory `/usr/src/h323plus/src'
> > make[1]: *** [optshared] Error 2
> > make[1]: Leaving directory `/usr/src/h323plus/src'
> > make: *** [optshared] Error 2
> > 
> > I tried to declare m_maxTokenLength without success :(
> > 
> > Regards,
> > Juan Pablo.
> > 
> > -----Mensaje original-----
> > De: Jan Willamowius [mailto:[email protected]]
> > Enviado el: viernes, 04 de abril de 2014 3:05
> > Para: [email protected]
> > Asunto: Re: [Openh323gk-users] h323plus compilation problems
> > 
> > Hi Juan,
> > 
> > my suggestion would be not to bother with an old buggy PWLib like that and
> > simply install PTLib 2.10.9.
> > 
> > On the compiling instructions page, I keep a list of matching GnuGk /
> > H323Plus / PTLib versions.
> > http://www.gnugk.org/compiling-gnugk.html
> > 
> > Regards,
> > Jan
> > 
> > --
> > Jan Willamowius, Founder of the GNU Gatekeeper Project EMail  :
> > [email protected]
> > 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
> > 
> > Simon Horne wrote:
> > > Geez. That is very old.
> > >
> > >
> > >
> > > The PPLUGIN_STATIC_LOAD API changed between 2.6.0 and 2.8.0. Perhaps the
> > > PTLIB_VER > 260 switch needs to be adjusted to PTLIB_VER >= 270 .
> > >
> > > Change the PPLUGIN_STATIC_LOAD to PWLIB_STATIC_LOAD_PLUGIN to see if that
> > > resolves the issue and let me know and I will correct the h323plus code.
> > >
> > >
> > >
> > > Simon
> > >
> > >
> > >
> > >
> > >
> > > From: Juan Pablo Godoy Macari [mailto:[email protected]]
> > > Sent: 04 April 2014 07:16
> > > To: GNU Gatekeeper Users
> > > Subject: Re: [Openh323gk-users] h323plus compilation problems
> > >
> > >
> > >
> > > Hi Simon,
> > >
> > >
> > >
> > > I'm using ptlib 2.6.7.
> > >
> > >
> > >
> > > Regards!
> > >
> > > Juan Pablo.
> > >
> > >
> > >
> > > De: Simon Horne [mailto:[email protected]] Enviado el: jueves, 03 de
> > > abril de 2014 18:07
> > > Para: 'GNU Gatekeeper Users'
> > > Asunto: Re: [Openh323gk-users] h323plus compilation problems
> > >
> > >
> > >
> > > What version of PTLIB are you using?
> > >
> > > Looks like a bug in the PTLIB PPLUGIN_STATIC_LOAD macro in PTLIB.
> > >
> > >
> > >
> > > Simon
> > >
> > >
> > >
> > > From: Juan Pablo Godoy Macari [mailto:[email protected]]
> > > Sent: 04 April 2014 04:17
> > > To: [email protected]
> > > Subject: [Openh323gk-users] h323plus compilation problems
> > >
> > >
> > >
> > > Hello!
> > >
> > >
> > >
> > > I'm mounting a lab with GNUGK, and after dealing with some problems.
> > > Currently I'm trying to compile h323plus and I got these errors with make:
> > >
> > >
> > >
> > > [CC] h323.cxx
> > >
> > > In file included from /usr/src/h323plus/include/h224/h224handler.h:36,
> > >
> > >                  from /usr/src/h323plus/include/h224/h224.h:150,
> > >
> > >                  from /usr/src/h323plus/include/h323ep.h:61,
> > >
> > >                  from h323.cxx:39:
> > >
> > > /usr/src/h323plus/include/h224/h281handler.h:243: error: expected
> > > constructor, destructor, or type conversion before â EURO ~(â EURO (tm) token
> > >
> > > In file included from h323.cxx:56:
> > >
> > > /usr/src/h323plus/include/h460/h460_std18.h:100: error: expected
> > > constructor, destructor, or type conversion before â EURO ~(â EURO (tm) token
> > >
> > > /usr/src/h323plus/include/h460/h460_std18.h:164: error: expected
> > > constructor, destructor, or type conversion before â EURO ~(â EURO (tm) token
> > >
> > > In file included from h323.cxx:57:
> > >
> > > /usr/src/h323plus/include/h460/h46018_h225.h:439: error: expected
> > > constructor, destructor, or type conversion before â EURO ~(â EURO (tm) token
> > >
> > > make[2]: *** [/usr/src/h323plus/lib/obj/h323.o] Error 1
> > >
> > > make[2]: Leaving directory `/usr/src/h323plus/src'
> > >
> > > make[1]: *** [optshared] Error 2
> > >
> > > make[1]: Leaving directory `/usr/src/h323plus/src'
> > >
> > > make: *** [optshared] Error 2
> > >
> > >
> > >
> > >
> > >
> > > Can you help me please?
> > >
> > >
> > >
> > > Best Regards!
> > >
> > > Juan Pablo Godoy

-- 
Jan Willamowius, [email protected], http://www.gnugk.org/

------------------------------------------------------------------------------
_______________________________________________________

Posting: mailto:[email protected]
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.