[Asterisk-Dev] asterisk 1.2 g729 compile errors

Diyanat Ali diyanat at hotmail.com
Thu Nov 24 10:32:45 MST 2005


I had sucessfully compiled  and tested free g729 codec for asterisk 1.09 
based on Intel ipp with patch and instructions from 
http://www.readytechnology.co.uk/open/ipp-codecs-g729-g723.1/

I am trying to compile again with asterisk 1.2 and getting the following 
errors


vm/include/sys/vm_types_linux32.h:36: 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: 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: 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: 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: 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: 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
make: *** [samples/codec_g729.o] Error 1


I guess the patch needs to be updated to work with  asterisk 1.2


Diyanat





More information about the asterisk-dev mailing list