[Asterisk-Users] Compiling Intel G729 error

atik khan atik.khan at gmail.com
Tue Feb 28 20:04:41 MST 2006


hi , when i am compiling Intel G729 codec with Patch, i got this error. but
i followed all the instraction and successfully patch those file.

i saw some has the same error before in this forum and they solved it. but i
cant find the patch file they gave.

can some one help me to fix this error?

thanks
atik

In file included from ./vm/include/vm_types.h:17,
                 from ./vm/include/vm_thread.h:14,
                 from samples/encoder.h:28,
                 from samples/codec_g729.c:39:
./vm/include/sys/vm_types_linux32.h:36: error: syntax error before
"use_ast_cond_t_instead_of_pthread_cond_t"
./vm/include/sys/vm_types_linux32.h:36: warning: no semicolon at end of
struct or union
./vm/include/sys/vm_types_linux32.h:37: warning: data definition has no type
or storage class
./vm/include/sys/vm_types_linux32.h:40: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:40: warning: data definition has no type
or storage class
./vm/include/sys/vm_types_linux32.h:51: error: syntax error before
"use_ast_mutex_t_instead_of_pthread_mutex_t"
./vm/include/sys/vm_types_linux32.h:51: warning: no semicolon at end of
struct or union
./vm/include/sys/vm_types_linux32.h:53: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:53: warning: data definition has no type
or storage class
./vm/include/sys/vm_types_linux32.h:57: error: syntax error before
"use_ast_cond_t_instead_of_pthread_cond_t"
./vm/include/sys/vm_types_linux32.h:57: warning: no semicolon at end of
struct or union
./vm/include/sys/vm_types_linux32.h:58: warning: data definition has no type
or storage class
./vm/include/sys/vm_types_linux32.h:60: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:60: warning: data definition has no type
or storage class
In file included from samples/decoder.h:27,
                 from samples/codec_g729.c:40:
samples/util_d.h:39:1: warning: "BITSTREAM_FILE_FRAME_SIZE" redefined
In file included from samples/encoder.h:27,
                 from samples/codec_g729.c:39:
samples/util_e.h:39:1: warning: this is the location of the previous
definition
samples/codec_g729.c: In function `g729tolin_new':
samples/codec_g729.c:168: warning: assignment from incompatible pointer type
samples/codec_g729.c: In function `g729tolin_framein':
samples/codec_g729.c:244: warning: assignment from incompatible pointer type
samples/codec_g729.c: In function `lintog729_frameout':
samples/codec_g729.c:285: warning: assignment from incompatible pointer type
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060228/e566f4ee/attachment.htm


More information about the asterisk-users mailing list