[Asterisk-Users] h323 compile error

Steven P. Donegan steve at LawNet.Com
Mon Jun 16 10:43:09 MST 2003


The openh323 code is not the 'latest cvs' but the one offered on their web
site for ftp. Not sure how one would go about getting an 'old' release. In
any case the error was relative to a problem within the asterisk h323 code
itself - there is no code in ast_h323.h for the below referenced item,
although there is code for the H323_G7231Capability in that module.....

I simply commented out the G791 section and it compiles/runs just fine (so
far).

----- Original Message ----- 
From: "Jeremy McNamara" <jj at indie.org>
To: <asterisk-users at lists.digium.com>
Sent: Monday, June 16, 2003 9:13 AM
Subject: Re: [Asterisk-Users] h323 compile error


> You are not running the version of Open H.323 Listed in
> asterisk/channels/h323/README.   Many things have changed in the latest
> CVS of Open H.323, we are letting some time pass to ensure all these
> changes get worked out before recomending this new version.
>
> A very simple command to get the approprate version:  cvs co openh323
> -rv1_11_7
>
>
> Jeremy McNamara
>
>
>
>
> Steven P. Donegan wrote:
>
> >The following occurs with code from yesterday's cvs (asterisk) and
current
> >OpenH323 code:
> >
> >[root at raid-2 h323]# make clean install
> >rm -f *.o *.so core.*
> >cc -g -pg -c -o
>
chan_h323.o -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations  -
>
>DP_LINUX  -D_REENTRANT -D_GNU_SOURCE -march=i686 -DPBYTE_ORDER=PLITTLE_ENDI
A
>
>N -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING -DP_U
S
>
E_PRAGMA  -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include  -I/root/op
> >enh323/include -Wno-missing-prototypes -Wno-missing-declarations
chan_h323.c
> >g++ -g -pg -c -o
>
ast_h323.o -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations  -D
>
>P_LINUX  -D_REENTRANT -D_GNU_SOURCE -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIA
N
>
> -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING -DP_US
E
>
_PRAGMA  -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include  -I/root/ope
> >nh323/include -Wno-missing-prototypes -Wno-missing-declarations
ast_h323.cpp
> >ast_h323.cpp: In function `int h323_set_capability (int, int)':
> >ast_h323.cpp:780: `H323_G729ACapability' undeclared (first use this
> >function)
> >ast_h323.cpp:780: (Each undeclared identifier is reported only once for
> >each function it appears in.)
> >ast_h323.cpp:780: `g729aCap' undeclared (first use this function)
> >ast_h323.cpp:781: parse error before `)'
> >/root/pwlib/include/ptlib/array.h: At top level:
> >chan_h323.h:30: warning: `sockaddr_in bindaddr' defined but not used
> >make: *** [ast_h323.o] Error 1
> >[root at raid-2 h323]#
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list