[Asterisk-Users] RxFax/TxFax - Compile Problem

David Sampson dsampson at innseason.com
Wed Sep 14 11:10:24 MST 2005


Anyone know how to fix this?

gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff

In file included from app_rxfax.c:14:

/usr/include/asterisk/lock.h: In function `ast_mutex_init':

/usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE'
undeclared (first use in this function)

/usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is
reported only once

/usr/include/asterisk/lock.h:302: error: for each function it appears
in.)

app_rxfax.c: In function `rxfax_exec':

app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible
pointer type

app_rxfax.c:264: error: structure has no member named `verbose'

app_rxfax.c:325: warning: passing arg 1 of `fax_release' from
incompatible pointer type

make[1]: *** [app_rxfax.so] Error 1

make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps'

make: *** [subdirs] Error 1

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050914/f0a58516/attachment.htm


More information about the asterisk-users mailing list