Hermann Wecke
2004-Jun-20 01:14 UTC
[Asterisk-Users] Softfax/spandsp Makefile.patch rxfax/txfax
I followed the instructions at http://www.opencall.org/instructions.html and http://lists.digium.com/pipermail/asterisk-users/2003-October/025094.html I was able to compile spandsp (./configure ; make ; make install), "manually" patched asterisk apps/Makefile (/usr/src/asterisk/apps), as the supplied patch does not fit the actual CVS apps/Makefile After make clean ; make install, I received this error: 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:214: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) ../include/asterisk/lock.h:214: error: (Each undeclared identifier is reported only once ../include/asterisk/lock.h:214: error: for each function it appears in. Any help? (yes, I copied app_rxfax.c app_txfax.c app_dtmftotext.c to apps dir also)
Sam Bingner
2004-Jun-20 04:40 UTC
[Asterisk-Users] Softfax/spandsp Makefile.patch rxfax/txfax
Search the mailing lists, this has been answered a million times. Edit the Makefile and remove the entries for both app_rxfax.o and app_txfax.o and it will compile fine. Sam -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Hermann Wecke Sent: Saturday, June 19, 2004 10:14 PM To: Asterisk Mailling List Subject: [Asterisk-Users] Softfax/spandsp Makefile.patch rxfax/txfax I followed the instructions at http://www.opencall.org/instructions.html and http://lists.digium.com/pipermail/asterisk-users/2003-October/025094.html I was able to compile spandsp (./configure ; make ; make install), "manually" patched asterisk apps/Makefile (/usr/src/asterisk/apps), as the supplied patch does not fit the actual CVS apps/Makefile After make clean ; make install, I received this error: 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:214: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) ../include/asterisk/lock.h:214: error: (Each undeclared identifier is reported only once ../include/asterisk/lock.h:214: error: for each function it appears in. Any help? (yes, I copied app_rxfax.c app_txfax.c app_dtmftotext.c to apps dir also) _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040620/c43b5347/smime.bin