[Asterisk-Users] G723 format compilation errors

Maxim Vozny vozny at satcomtel.ru
Mon Oct 27 08:47:20 MST 2003


Please, help 

I could not compile g723 format with pwlib-v1_4_11 and openh323-v1_11_7
I'am planning to use h323 channel driver, because of it that versions of
libraries have been cvs'ed from openh323.org
I am getting next compile errors:


gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations
 -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6
-march=i686   -DASTE
RISK_VERSION=\"CVS-09/10/03-15:14:21\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/
asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\
" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\"
-DASTLOGDIR=
\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=
\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBU
SYDETECT_MARTIN     -DNEW_PRI_HANGUP  -fPIC   -c -o format_g723.o
format_g723.c
format_g723.c: In function `g723_open':
format_g723.c:72: structure has no member named `lasttimeout'
format_g723.c: In function `g723_rewrite':
format_g723.c:95: structure has no member named `owner'
format_g723.c:97: structure has no member named `lasttimeout'
format_g723.c: In function `g723_close':
format_g723.c:120: `glist' undeclared (first use in this function)
format_g723.c:120: (Each undeclared identifier is reported only once
format_g723.c:120: for each function it appears in.)
format_g723.c:133: structure has no member named `owner'
format_g723.c:134: structure has no member named `owner'
format_g723.c:135: structure has no member named `owner'
format_g723.c:136: structure has no member named `owner'
format_g723.c:136: structure has no member named `owner'
format_g723.c:137: structure has no member named `owner'
format_g723.c: In function `ast_read_callback':
format_g723.c:161: structure has no member named `owner'
format_g723.c:171: structure has no member named `owner'
format_g723.c:180: structure has no member named `owner'
format_g723.c:202: structure has no member named `lasttimeout'
format_g723.c:204: structure has no member named `owner'
format_g723.c:204: structure has no member named `owner'
format_g723.c:208: structure has no member named `lasttimeout'
format_g723.c:214: structure has no member named `owner'
format_g723.c:216: structure has no member named `owner'
format_g723.c: In function `g723_apply':
format_g723.c:226: structure has no member named `owner'
format_g723.c: In function `load_module':
format_g723.c:330: warning: passing arg 6 of `ast_format_register' from
incompat
ible pointer type
format_g723.c:330: warning: passing arg 7 of `ast_format_register' from
incompat
ible pointer type
format_g723.c:330: warning: passing arg 8 of `ast_format_register' from
incompat
ible pointer type
format_g723.c:330: warning: passing arg 9 of `ast_format_register' from
incompat
ible pointer type
format_g723.c:330: warning: passing arg 10 of `ast_format_register' from
incompa
tible pointer type
format_g723.c:330: warning: passing arg 11 of `ast_format_register' from
incompa
tible pointer type
format_g723.c:330: warning: passing arg 12 of `ast_format_register' from
incompa
tible pointer type
format_g723.c:330: too many arguments to function `ast_format_register'
format_g723.c: In function `unload_module':
format_g723.c:342: `glist' undeclared (first use in this function)
format_g723.c:344: structure has no member named `owner'
format_g723.c:345: structure has no member named `owner'
make[1]: *** [format_g723.o] Error 1
make[1]: Leaving directory `/usr/src/SOURCES/asterisk/formats'
make: *** [subdirs] Error 1
[root at Linuxmashine asterisk]#


What a problem it can be ? 

Yours,             Vozny Maxim




More information about the asterisk-users mailing list