[Asterisk-Dev] asterisk 1.2 g729 compile errors
Diyanat Ali
diyanat at hotmail.com
Thu Dec 1 00:09:58 MST 2005
apply the patch against vm_types_linux32.h
cd ipp_sample/speech-coding/G729-float/vm/include/sys
patch -p1 <vm_types_linux32.h.diff
cd ipp_sample/speech-coding/G723.1/vm/include/sys
patch -p1 <vm_types_linux32.h.diff
*** vm_types_linux32.h.orig Wed Nov 23 18:05:01 2005
--- vm_types_linux32.h Wed Nov 23 18:06:15 2005
***************
*** 33,40 ****
/* vm_event.h */
typedef struct {
! pthread_cond_t cond;
! pthread_mutex_t mutex;
int manual;
int state;
} vm_event;
--- 33,40 ----
/* vm_event.h */
typedef struct {
! ast_cond_t cond;
! ast_mutex_t mutex;
int manual;
int state;
} vm_event;
***************
*** 48,61 ****
/* vm_mutex.h */
typedef struct {
! pthread_mutex_t handle;
int is_valid;
} vm_mutex;
/* vm_semaphore.h */
typedef struct {
! pthread_cond_t cond;
! pthread_mutex_t mutex;
int count;
} vm_semaphore;
--- 48,61 ----
/* vm_mutex.h */
typedef struct {
! ast_mutex_t handle;
int is_valid;
} vm_mutex;
/* vm_semaphore.h */
typedef struct {
! ast_cond_t cond;
! ast_mutex_t mutex;
int count;
} vm_semaphore;
>From: Mik Cheez <michael_bulk at wildgate.com>
>Reply-To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
>To: asterisk-dev at lists.digium.com
>Subject: [Asterisk-Dev] asterisk 1.2 g729 compile errors
>
>Would someone send me or post this patch? It isn't included on the list.
>
>Best regards
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Dev mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
*** vm_types_linux32.h.orig Wed Nov 23 18:05:01 2005
--- vm_types_linux32.h Wed Nov 23 18:06:15 2005
***************
*** 33,40 ****
/* vm_event.h */
typedef struct {
! pthread_cond_t cond;
! pthread_mutex_t mutex;
int manual;
int state;
} vm_event;
--- 33,40 ----
/* vm_event.h */
typedef struct {
! ast_cond_t cond;
! ast_mutex_t mutex;
int manual;
int state;
} vm_event;
***************
*** 48,61 ****
/* vm_mutex.h */
typedef struct {
! pthread_mutex_t handle;
int is_valid;
} vm_mutex;
/* vm_semaphore.h */
typedef struct {
! pthread_cond_t cond;
! pthread_mutex_t mutex;
int count;
} vm_semaphore;
--- 48,61 ----
/* vm_mutex.h */
typedef struct {
! ast_mutex_t handle;
int is_valid;
} vm_mutex;
/* vm_semaphore.h */
typedef struct {
! ast_cond_t cond;
! ast_mutex_t mutex;
int count;
} vm_semaphore;
More information about the asterisk-dev
mailing list