[Asterisk-Users] Re: Can't compile ast_*fax

Carlos Alperin calperin at senecacom.net
Mon Oct 17 12:58:00 MST 2005


You are talking on the app_rxfax.c & app_txfax.c?

Carlos

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Justin Newman
Sent: Monday, October 17, 2005 3:26 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Re: Can't compile ast_*fax

Try adding "#define _GNU_SOURCE" before including lock.h and pthread.h.

Justin

> Date: Mon, 17 Oct 2005 14:29:12 -0400
> From: "Carlos Alperin" <calperin at senecacom.net>
> Subject: RE: [Asterisk-Users] Can't compile ast_*fax
>
> I tried to compile app_rxfax.c & app_txfax.c, and always fails.
>
>
>
> Even if I put this on a different directory and I do gcc -pipe app_rxfax.c
I
> get the same
>
>
>
> /usr/include/asterisk/lock.h: In function `ast_mutex_init':
>
> /usr/include/asterisk/lock.h:300: `PTHREAD_MUTEX_RECURSIVE' undeclared
> (first use in this function)
>
> /usr/include/asterisk/lock.h:300: (Each undeclared identifier is reported
> only once
>
> /usr/include/asterisk/lock.h:300: for each function it appears in.)

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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




More information about the asterisk-users mailing list