[Asterisk-Users] h323 compile error

Jeremy McNamara jj at indie.org
Mon Jun 16 09:13:39 MST 2003


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_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/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_ENDIAN
> -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING -DP_USE
>_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
>  
>





More information about the asterisk-users mailing list