You are talking on the app_rxfax.c & app_txfax.c? Carlos
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Newman Sent: Monday, October 17, 2005 3:26 PM To: [email protected] 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" <[EMAIL PROTECTED]> > 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 [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
