Author Topic: [SOLVED] Yate doesn't compile on Debian Jessie  (Read 11925 times)

xevyk

  • Newbie
  • *
  • Posts: 10
    • View Profile
[SOLVED] Yate doesn't compile on Debian Jessie
« on: November 20, 2015, 11:14:01 PM »
Greetings everyone!
I trying to complile Yate 5.5.0-1 with h323 support as h323-sip signaling proxy to Freeswitch but with no luck.
Vurtual Machine in Xen Server, OS Debian Jessie 64 bit clean default installation.
After compiling ptlib (v 2.12.8 ) and h323plus (v 1.26.5) I made

./configure --with-openh323=/usr/local/

as result:

...
checking for Pwlib in /usr/local... installed  RTTI: none
checking for OpenH323 in /usr/local/... installed 1.26.5
...

Seems OK, but compiling Yate stops with large amounts of errors:

...
In file included from /usr/local/include/ptlib.h:96:0,
                 from h323chan.cpp:28:
/usr/local/include/ptlib/unix/ptlib/thread.h: At global scope:
/usr/local/include/ptlib/unix/ptlib/thread.h:62:19: warning: ‘void* PX_ThreadMain(void*)’ declared ‘static’ but never defined [-Wunused-function]
     static void * PX_ThreadMain(void *);
                   ^
/usr/local/include/ptlib/unix/ptlib/thread.h:63:17: warning: ‘void PX_ThreadEnd(void*)’ declared ‘static’ but never defined [-Wunused-function]
     static void PX_ThreadEnd(void *);
                 ^
Makefile:306: ошибка выполнения рецепта для цели «h323chan.yate»
make[1]: *** [h323chan.yate] Error 1
make[1]: quit from directory «/usr/src/yate/modules»
Makefile:186: ошибка выполнения рецепта для цели «modules»
make: *** [modules] Errors 2

Please help.
« Last Edit: November 23, 2015, 01:19:02 AM by xevyk »

xevyk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Yate doesn't compile on Debian Jessie
« Reply #1 on: November 23, 2015, 01:18:36 AM »
I solved this problem by the next way - as I thought problem is in new versions of ptlib an h323plus, but other (older) versions doesn't compile with Jessie.
First I installed Wheezy and successfully compiled ptlib-2.10.1 and h323plus-v1_23_0 and with this versions I built Yate from SVN.
After that I updated Wheezy to Jessie and installed Freeswitch 1.6.5