[Asterisk-Users] Problems with oh323-0.5.10

Terence Parker terence at parker.com.hk
Sat Mar 27 19:42:54 MST 2004


I am trying to get asterisk working with H323 - but I don't seem to be
getting very far. I have downloaded the asterisk-oh323-0.5.10 package, but
cannot seem to compile it ; I get the following errors:

....... [ a lot omitted ] .....
wrapper_misc.cxx:72: error: parse error before `else'
wrapper_misc.cxx:80: error: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: error: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `void WrapMutex::Signal(const char*,
int,
   const char*)':
wrapper_misc.cxx:81: error: parse error before `::' token
wrapper_misc.cxx:82: error: `Class' undeclared (first use this function)
/usr/share/pwlib/include/ptlib/indchan.h: At global scope:
/usr/share/pwlib/include/ptlib/indchan.h:332: error: storage size of `
   channelPointerMutex' isn't known
/usr/share/pwlib/include/ptlib/unix/ptlib/thread.h:167: warning: `void
   PX_ThreadEnd(void*)' declared `static' but never defined
/usr/share/pwlib/include/ptlib/unix/ptlib/pprocess.h:144: warning: `void
   PXShowSystemWarning(int)' declared `static' but never defined
/usr/share/pwlib/include/ptlib/unix/ptlib/pprocess.h:145: warning: `void
   PXShowSystemWarning(...)' declared `static' but never defined
make[1]: *** [wrapper_misc.o] Error 1


I have declared my PWLIBDIR as /usr/share/pwlib , which should be correct,
and I have also declared the OPENH323DIR to /usr/include/openh323 (i've
tried /usr/share/openh323 too, also doesn't work).

For pwlib i've currently installed ver. 1.6.3 and openh323 is 1.13.2 . These
were both done through the portage system in gentoo linux. I attempted to
manually compile and install pwlib 1.5.2 as suggested, but compilation of
pwlib failed!

Is the asterisk-oh323 package even needed? What does it do exactly? On the
asterisk website I get no indication that it is required and the site talks
as if asterisk should ALREADY support H323 out of the box. Indeed, in the
asterisk source /channels directory there is a chan_h323.c file - does this
mean it already supports H323?

How does one go about getting H323 to work in asterisk?

Thanks,

Terence





More information about the asterisk-users mailing list