[Asterisk-Users] faxing

Seth Remington sremington at saberlogic.com
Fri Jul 30 04:36:34 MST 2004


On Fri, 2004-07-30 at 03:40, Vladyslav wrote:
> BTW, compilation of rxfax with latest CVS-2004-07-29 fails.
> and Makefile.patch (which is on the site) should be modified as well.
> 
> gcc -O2 -g  -Iinclude -I../include -c -o  app_rxfax.o app_rxfax.c
> In file included from app_rxfax.c:14:
> ../include/asterisk/lock.h: In function `ast_mutex_init':
> ../include/asterisk/lock.h:300: `PTHREAD_MUTEX_RECURSIVE' undeclared
> (first use in this function)
> ../include/asterisk/lock.h:300: (Each undeclared identifier is reported
> only once
> ../include/asterisk/lock.h:300: for each function it appears in.)
> make[1]: *** [app_rxfax.o] Error 1
> make[1]: Leaving directory
> `/usr/src/install/cvs/2004-07-29/asterisk/apps'
> make: *** [subdirs] Error 1

You need to make sure that _GNU_SOURCE is defined or else you will get
this error.

-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559




More information about the asterisk-users mailing list