[ previous ] [ next ] [ threads ]
 To :  yate@v..., Nicolas <nicolas@e...>
 From :  AmberVoIP <ambervoip@g...>
 Subject :  Re: [yate] Debian Sarge Yate H323 support
 Date :  Tue, 29 Aug 2006 16:58:40 +0100
i use ubuntu, guess, same in debian.

/etc/ld.so.conf file do not exist by default and you must have it.

so, edit /etc/ld.so.conf and there must be /usr/local/lib

then ldconfig nad compile

andy

On Tue, 29 Aug 2006 15:23:45 +0200
Nicolas  wrote:

> Diana Cionoiu a écrit :
> > Hello Nicolas,
> >
> > The version from openh323.org are really old and Yate dosen't work 
> > with those anymore, try those from voxgratia.org.
> >
> > Diana Cionoiu
> >
> > Nicolas wrote:
> >
> >> Hello,
> >>
> >> I'm trying to build Yate from the sources for a debian sarge
> >> (kernel 2.6) system.I have a problem building H323 modules.
> >>
> >> I have installed openH323 and pwlib from openH323.org but when i 
> >> tryed to compil yate, the H323 module wasn't build.
> >>
> >> Anyone who has already build Yate on a sarge could help me?
> >>
> >> Thanx for help
> >>
> >> Nicolas
> >>
> >
> Still got problem to build yate...
> I got openH323 from there:
> http://www.voxgratia.org/releases/pwlib-v1_11_0-src-tar.gz
> http://www.voxgratia.org/releases/openh323-v1_19_0_1-src-tar.gz
> I extrated and rename folder to get /usr/src/openh323 and pwlib
> Then I launched the compilation as this:
> 
> cd /usr/src/pwlib && ./configure && make && make all && make install
> && ldconfig && cd ../openh323 && ./configure && make && make all &&
> make install && ldconfig
> in the /usr/local/lib i renamed the file "mv
> libopenh323.@SHAREDLIBEXT@ libopenh323.so"
> 
> In the yate directory a ./configure found openh323 sources but i dont 
> see H323 appear in the modules configured
> configure: creating ./config.status
> config.status: creating yate.spec
> config.status: creating yate.pc
> config.status: creating yateversn.h
> config.status: creating yateiss.inc
> config.status: creating Makefile
> config.status: creating engine/Makefile
> config.status: creating modules/Makefile
> config.status: creating modules/skin/Makefile
> config.status: creating modules/help/Makefile
> config.status: creating clients/Makefile
> config.status: creating scripts/Makefile
> config.status: creating conf.d/Makefile
> config.status: creating contrib/ilbc/Makefile
> config.status: creating contrib/ysip/Makefile
> config.status: creating contrib/yrtp/Makefile
> config.status: creating contrib/yiax/Makefile
> config.status: creating contrib/ypbx/Makefile
> config.status: creating contrib/gtk2/Makefile
> config.status: creating test/Makefile
> config.status: creating yate-config
> config.status: creating run
> 
> The h323chan.yate was not created.
> 
> The make command gave me lots of error:
> g++ -Wall   -I.. -I.. -O2 -fno-check-new  -fno-exceptions -fPIC 
> -DHAVE_GCC_FORMAT_CHECK  -export-dynamic -shared 
> -Wl,--unresolved-symbols=ignore-in-shared-libs 
> -Wl,--retain-symbols-file,/dev/null -L.. -lyate -o h323chan.yate 
> -DPHAS_TEMPLATES -D_REENTRANT -DP_HAS_SEMAPHORES 
> -I/usr/include/ptlib/unix/ptlib -I/usr/include/ptlib/unix 
> -I/usr/include/ptlib -I/usr/include h323chan.cpp -L/usr/lib 
> -lh323_linux_x86_r -L/usr/lib -lpt
> In file included from /usr/local/include/ptlib.h:181,
>                  from h323chan.cpp:31:
> /usr/include/ptlib/unix/ptlib/pdirect.h:78: error: erreur d'analyse 
> syntaxique
>    before `protected'
> 
>  I dont understand the reason why this errors occured, need more
> light;)