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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to