Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Problem compiling res_fax_spandsp.c on Debian server.


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
maillist at lightspeed.ca
Guest





PostPosted: Wed Feb 17, 2016 6:16 pm    Post subject: [asterisk-users] Problem compiling res_fax_spandsp.c on Debi Reply with quote

Hi everyone.

We have an Asterisk server running Debian Squeeze, with Asterisk
v1.8.13.1 (basically, the Debian Stable version for Squeeze, but with
some minor source code changes specific to our site). We're trying to
upgrade to 11.13.1 (The Debian Stable version for Jessie), but I've run
into a snag when compiling res_fax_spandsp (and yes, we really need that
module). The old version has been working, and was compiled on this same
machine with this same operating system. This is the error I get when
doing the make:

[CC] res_fax_spandsp.c -> res_fax_spandsp.o
res_fax_spandsp.c: In function ‘spandsp_v21_new’:
res_fax_spandsp.c:487:52: error:
‘MODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLE’ undeclared (first use in this
function)
res_fax_spandsp.c:487:52: note: each undeclared identifier is reported
only once for each function it appears in
res_fax_spandsp.c: In function ‘spandsp_fax_gateway_start’:
res_fax_spandsp.c:819:36: error: ‘t38_gateway_state_t’ has no member
named ‘t38’
res_fax_spandsp.c:870:43: error: ‘t38_gateway_state_t’ has no member
named ‘t38’
res_fax_spandsp.c:870:83: error: ‘t38_gateway_state_t’ has no member
named ‘t38’
make[1]: *** [res_fax_spandsp.o] Error 1
make: *** [res] Error 2

It sounds like I need a library that doesn't exist on this system, but I
can't find anything in the includes for this file that would suggest
that something is missing.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rmudgett at digium.com
Guest





PostPosted: Wed Feb 17, 2016 6:32 pm    Post subject: [asterisk-users] Problem compiling res_fax_spandsp.c on Debi Reply with quote

On Wed, Feb 17, 2016 at 5:15 PM, Ernie Dunbar <maillist@lightspeed.ca (maillist@lightspeed.ca)> wrote:
Quote:
Hi everyone.

We have an Asterisk server running Debian Squeeze, with Asterisk v1.8.13.1 (basically, the Debian Stable version for Squeeze, but with some minor source code changes specific to our site). We're trying to upgrade to 11.13.1 (The Debian Stable version for Jessie), but I've run into a snag when compiling res_fax_spandsp (and yes, we really need that module). The old version has been working, and was compiled on this same machine with this same operating system. This is the error I get when doing the make:

   [CC] res_fax_spandsp.c -> res_fax_spandsp.o
res_fax_spandsp.c: In function ‘spandsp_v21_new’:
res_fax_spandsp.c:487:52: error: ‘MODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLE’ undeclared (first use in this function)


This is defined by spandsp itself in one of its headers.  Have you installed the spandsp dev package?


Richard
Back to top
maillist at lightspeed.ca
Guest





PostPosted: Wed Feb 17, 2016 6:56 pm    Post subject: [asterisk-users] Problem compiling res_fax_spandsp.c on Debi Reply with quote

On 2016-02-17 15:32, Richard Mudgett wrote:
Quote:
On Wed, Feb 17, 2016 at 5:15 PM, Ernie Dunbar <maillist@lightspeed.ca>
wrote:

Quote:
Hi everyone.

We have an Asterisk server running Debian Squeeze, with Asterisk
v1.8.13.1 (basically, the Debian Stable version for Squeeze, but
with some minor source code changes specific to our site). We're
trying to upgrade to 11.13.1 (The Debian Stable version for Jessie),
but I've run into a snag when compiling res_fax_spandsp (and yes, we
really need that module). The old version has been working, and was
compiled on this same machine with this same operating system. This
is the error I get when doing the make:

[CC] res_fax_spandsp.c -> res_fax_spandsp.o
res_fax_spandsp.c: In function ‘spandsp_v21_new’:
res_fax_spandsp.c:487:52: error:
‘MODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLE’ undeclared (first use
in this function)

This is defined by spandsp itself in one of its headers. Have you
installed the spandsp dev package?

Richard

Yes, but it's occurred to me that I'm not using the latest version of
the Debian spandsp-dev package.

However, at the same time, I'm not exactly compiling the latest version
of Asterisk 11 either. Is it that big of a deal, or should I try to pin
the package from the next version of Debian?

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rmudgett at digium.com
Guest





PostPosted: Wed Feb 17, 2016 7:28 pm    Post subject: [asterisk-users] Problem compiling res_fax_spandsp.c on Debi Reply with quote

On Wed, Feb 17, 2016 at 5:56 PM, Ernie Dunbar <maillist@lightspeed.ca (maillist@lightspeed.ca)> wrote:
Quote:
On 2016-02-17 15:32, Richard Mudgett wrote:
Quote:
On Wed, Feb 17, 2016 at 5:15 PM, Ernie Dunbar <maillist@lightspeed.ca (maillist@lightspeed.ca)>
wrote:

Quote:
Hi everyone.

We have an Asterisk server running Debian Squeeze, with Asterisk
v1.8.13.1 (basically, the Debian Stable version for Squeeze, but
with some minor source code changes specific to our site). We're
trying to upgrade to 11.13.1 (The Debian Stable version for Jessie),
but I've run into a snag when compiling res_fax_spandsp (and yes, we
really need that module). The old version has been working, and was
compiled on this same machine with this same operating system. This
is the error I get when doing the make:

[CC] res_fax_spandsp.c -> res_fax_spandsp.o
res_fax_spandsp.c: In function ‘spandsp_v21_new’:
res_fax_spandsp.c:487:52: error:
‘MODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLE’ undeclared (first use
in this function)

This is defined by spandsp itself in one of its headers.  Have you
installed the spandsp dev package?

Richard



Yes, but it's occurred to me that I'm not using the latest version of the Debian spandsp-dev package.

However, at the same time, I'm not exactly compiling the latest version of Asterisk 11 either. Is it that big of a deal, or should I try to pin the package from the next version of Debian?


The change that started using the define was made on Dec 28, 2011 to improve V.21

preamble detection.  (Git change fdda4947767a5c0ee2424532ff5f01250797175d )

The spandsp version that compiles on my system is 0.0.6~pre12-1

Maybe you have remnants of an older version of spandsp still installed.



Richard
Back to top
maillist at lightspeed.ca
Guest





PostPosted: Thu Feb 18, 2016 12:48 pm    Post subject: [asterisk-users] Problem compiling res_fax_spandsp.c on Debi Reply with quote

On 2016-02-17 16:28, Richard Mudgett wrote:
Quote:
On Wed, Feb 17, 2016 at 5:56 PM, Ernie Dunbar <maillist@lightspeed.ca>
wrote:

Quote:
On 2016-02-17 15:32, Richard Mudgett wrote:
On Wed, Feb 17, 2016 at 5:15 PM, Ernie Dunbar
<maillist@lightspeed.ca>
wrote:

Hi everyone.

We have an Asterisk server running Debian Squeeze, with Asterisk
v1.8.13.1 (basically, the Debian Stable version for Squeeze, but
with some minor source code changes specific to our site). We're
trying to upgrade to 11.13.1 (The Debian Stable version for Jessie),
but I've run into a snag when compiling res_fax_spandsp (and yes, we
really need that module). The old version has been working, and was
compiled on this same machine with this same operating system. This
is the error I get when doing the make:

[CC] res_fax_spandsp.c -> res_fax_spandsp.o
res_fax_spandsp.c: In function ‘spandsp_v21_new’:
res_fax_spandsp.c:487:52: error:
‘MODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLE’ undeclared (first use
in this function)

This is defined by spandsp itself in one of its headers. Have you
installed the spandsp dev package?

Richard

Yes, but it's occurred to me that I'm not using the latest version of
the Debian spandsp-dev package.

However, at the same time, I'm not exactly compiling the latest
version of Asterisk 11 either. Is it that big of a deal, or should I
try to pin the package from the next version of Debian?

The change that started using the define was made on Dec 28, 2011 to
improve V.21

preamble detection. (Git change
fdda4947767a5c0ee2424532ff5f01250797175d )

The spandsp version that compiles on my system is 0.0.6~pre12-1

Maybe you have remnants of an older version of spandsp still
installed.

Richard

Okay, I've gotten it compiled. The problem was that Debian's version of
libspandsp-dev wasn't the right one. I downloaded and installed the
latest version found on spandsp's website, and the compile went through
without any issue.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services