[Asterisk-Dev] asterisk 1.2 g729 compile errors

hcb+asterisk-dev at unco.de hcb+asterisk-dev at unco.de
Fri Nov 25 06:46:59 MST 2005


Hello Ali,

try this patch against the vm_types_linux32.h include. Worked for me.

Kind regards,
Christian Braun.

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Diyanat Ali
Sent: Thursday, November 24, 2005 6:33 PM
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] asterisk 1.2 g729 compile errors

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


_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


begin 666 vm_types_linux32.h.diff
M*BHJ('9M7W1Y<&5S7VQI;G5X,S(N:"YO<FEG"5=E9"!.;W8@,C,@,3 at Z,#4Z
M,#$@,C P-0HM+2T@=FU?='EP97-?;&EN=7 at S,BYH"5=E9"!.;W8@,C,@,3 at Z
M,#8Z,34@,C P-0HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#,S+#0P("HJ*BH*(" *
M(" O*B!V;5]E=F5N="YH("HO"B @='EP961E9B!S=')U8W0@>PHA( EP=&AR
M96%D7V-O;F1?="!C;VYD.PHA( EP=&AR96%D7VUU=&5X7W0@;75T97@["B @
M"6EN="!M86YU86P["B @"6EN="!S=&%T93L*("!]('9M7V5V96YT.PHM+2T@
M,S,L-# @+2TM+0H@( H@("\J('9M7V5V96YT+F@@*B\*("!T>7!E9&5F('-T
M<G5C="!["B$@"6%S=%]C;VYD7W0 at 8V]N9#L*(2 )87-T7VUU=&5X7W0@;75T
M97@["B @"6EN="!M86YU86P["B @"6EN="!S=&%T93L*("!]('9M7V5V96YT
M.PHJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#0X+#8Q("HJ*BH*(" *(" O*B!V;5]M
M=71E>"YH("HO"B @='EP961E9B!S=')U8W0@>PHA( EP=&AR96%D7VUU=&5X
M7W0@:&%N9&QE.PH@( EI;G0@:7-?=F%L:60["B @?2!V;5]M=71E>#L*(" *
M(" O*B!V;5]S96UA<&AO<F4N:" J+PH@('1Y<&5D968@<W1R=6-T('L*(2 @
M(" @<'1H<F5A9%]C;VYD7W0 at 8V]N9#L*(2 @(" @<'1H<F5A9%]M=71E>%]T
M(&UU=&5X.PH@(" @("!I;G0 at 8V]U;G0["B @?2!V;5]S96UA<&AO<F4["B @
M"BTM+2 T."PV,2 M+2TM"B @"B @+RH@=FU?;75T97 at N:" J+PH@('1Y<&5D
M968@<W1R=6-T('L*(2 )87-T7VUU=&5X7W0@:&%N9&QE.PH@( EI;G0@:7-?
M=F%L:60["B @?2!V;5]M=71E>#L*(" *(" O*B!V;5]S96UA<&AO<F4N:" J
M+PH@('1Y<&5D968@<W1R=6-T('L*(2 @(" @87-T7V-O;F1?="!C;VYD.PHA
M(" @("!A<W1?;75T97A?="!M=71E>#L*(" @(" @:6YT(&-O=6YT.PH@('T@
1=FU?<V5M87!H;W)E.PH@( H`
`
end




More information about the asterisk-dev mailing list