[Asterisk-Users] Problem installing Software Fax SpanDSPsupport into Asterisk
Jon Bebeau
jbebeau at 1nettw.net
Thu Aug 12 11:42:48 MST 2004
Thanks Seth. That fixed the Makefile problem and got me to the next
problem: Compile errors in app_rxfax.c - below.. I'm thinking there are
updated source programs (app_rxfax.c and app_txfax.c and friends) to go
along with the updated Makefile?
Jon
app_rxfax.c compile log below--------------
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/asterisk/apps'
make: *** [subdirs] Error 1
--------------------------------------------------------------
----- Original Message -----
From: "Seth Remington" <sremington at saberlogic.com>
To: <asterisk-users at lists.digium.com>
Sent: Thursday, August 12, 2004 1:55 PM
Subject: Re: [Asterisk-Users] Problem installing Software Fax SpanDSPsupport
into Asterisk
> On Thu, 2004-08-12 at 12:08, Jon Bebeau wrote:
> > I'm trying to install the SPANDSP software into Asterisk to support
> > incoming (mainly) Fax. I'm following the info in
> > http://www.voip-info.org/wiki-Asterisk+Fax. I downloaded and
> > installed the spandsp software from
> > ftp://ftp.opencall.org/pub/spandsp/ and followed the directions in
> > several documents listed on the on the Tiki page.
> >
> > I get down to patch < Makefile.patch that fails with Hunk #1 FAILED at
> > 35. and Hunk #2 FAILED at 68. The Makefile.rej is included below.
> > Not being a Linux wiz-kid, I'm struggling to figure out what when
> > wrong and how to fix it. The problem seems to be related to two
> > missing programs app_todd and app_sql_odbc. Some searching around
> > with Google, I find these things seem to have existed at one time (the
> > todd anyway). It seems that the most recent documents:
> > http://scottstuff.net/scott/archives/000152.html
> >
> > Dated March 28, 2004 and the earlier lists documents:
> >
> >
http://lists.digium.com/pipermail/asterisk-users/2003-October/025094.html
(cache),
http://lists.digium.com/pipermail/asterisk-users/2004-March/041408.html
(cache) and
http://lists.digium.com/pipermail/asterisk-users/2004-March/041433.html
(cache) (Thanks to Scott Laird)
> >
> > They don't say they have this problem. I'm thinking Asterisk has
> > changed enough in recent times to require some other procedure. Any
> > guidance would help. Environment: Redhat 9, Linux 2.4.20-31.9smp and
> > Asterisk CVS-HEAD-08/02/04-15:03:06 on a Tyan single P4 3.06Ghz with
> > Hyperthreading enabled.
> >
> > Is this Fax a viable solution? Any better/other suggestions for
> > faxing?
> >
> You are partly correct. The Makefile has changed since that patch was
> made and the patch program can't quite figure out how to apply it so it
> gives you the hunk FAILED errors.
>
> Try this patch instead:
>
> http://sremington.zapto.org/downloads/asterisk/spandsp/Makefile.patch
>
> -Seth
>
> --
> Seth Remington
> SaberLogic, LLC
> 661-B Weber Drive
> Wadsworth, Ohio 44281
> Phone: (330)335-6442
> Fax: (330)336-8559
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
More information about the asterisk-users
mailing list