Hello!  Braun

I was able to compile and test the codecs after applying the patch to vm_types_linux32.h

Thanks

Diyanat


From: <[EMAIL PROTECTED]>
Reply-To: Asterisk Developers Mailing List <asterisk-dev@lists.digium.com>
To: "'Asterisk Developers Mailing List'" <asterisk-dev@lists.digium.com>
Subject: RE: [Asterisk-Dev] asterisk 1.2  g729  compile errors
Date: Fri, 25 Nov 2005 14:46:59 +0100
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 25 Nov 2005 13:50:37.0076 (UTC) FILETIME=[36D6CD40:01C5F1C7]

Hello Ali,

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

Kind regards,
Christian Braun.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Diyanat Ali
Sent: Thursday, November 24, 2005 6:33 PM
To: asterisk-dev@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@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




<< vm_types_linux32.h.diff >>


_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev@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


_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev@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

Reply via email to