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.<br><br>i saw some has the same error before in this forum and they solved it. but i cant find the patch file they gave.
<br><br>can some one help me to fix this error?<br><br>thanks <br>atik<br><br>In file included from ./vm/include/vm_types.h:17,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ./vm/include/vm_thread.h:14,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from samples/encoder.h:28,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from samples/codec_g729.c:39:<br>./vm/include/sys/vm_types_linux32.h:36: error: syntax error before &quot;use_ast_cond_t_instead_of_pthread_cond_t&quot;<br>./vm/include/sys/vm_types_linux32.h:36: warning: no semicolon at end of struct or union
<br>./vm/include/sys/vm_types_linux32.h:37: warning: data definition has no type or storage class<br>./vm/include/sys/vm_types_linux32.h:40: error: syntax error before '}' token<br>./vm/include/sys/vm_types_linux32.h:40: warning: data definition has no type or storage class
<br>./vm/include/sys/vm_types_linux32.h:51: error: syntax error before &quot;use_ast_mutex_t_instead_of_pthread_mutex_t&quot;<br>./vm/include/sys/vm_types_linux32.h:51: warning: no semicolon at end of struct or union<br>./vm/include/sys/vm_types_linux32.h:53: error: syntax error before '}' token
<br>./vm/include/sys/vm_types_linux32.h:53: warning: data definition has no type or storage class<br>./vm/include/sys/vm_types_linux32.h:57: error: syntax error before &quot;use_ast_cond_t_instead_of_pthread_cond_t&quot;<br>
./vm/include/sys/vm_types_linux32.h:57: warning: no semicolon at end of struct or union<br>./vm/include/sys/vm_types_linux32.h:58: warning: data definition has no type or storage class<br>./vm/include/sys/vm_types_linux32.h:60: error: syntax error before '}' token
<br>./vm/include/sys/vm_types_linux32.h:60: warning: data definition has no type or storage class<br>In file included from samples/decoder.h:27,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from samples/codec_g729.c:40:<br>samples/util_d.h:39:1: warning: &quot;BITSTREAM_FILE_FRAME_SIZE&quot; redefined
<br>In file included from samples/encoder.h:27,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from samples/codec_g729.c:39:<br>samples/util_e.h:39:1: warning: this is the location of the previous definition<br>samples/codec_g729.c: In function `g729tolin_new':
<br>samples/codec_g729.c:168: warning: assignment from incompatible pointer type<br>samples/codec_g729.c: In function `g729tolin_framein':<br>samples/codec_g729.c:244: warning: assignment from incompatible pointer type<br>
samples/codec_g729.c: In function `lintog729_frameout':<br>samples/codec_g729.c:285: warning: assignment from incompatible pointer type<br><br>