<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 5:56 PM, Ernie Dunbar <span dir="ltr"><<a href="mailto:maillist@lightspeed.ca" target="_blank">maillist@lightspeed.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On 2016-02-17 15:32, Richard Mudgett wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Wed, Feb 17, 2016 at 5:15 PM, Ernie Dunbar <<a href="mailto:maillist@lightspeed.ca" target="_blank">maillist@lightspeed.ca</a>><br>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi everyone.<br>
<br>
We have an Asterisk server running Debian Squeeze, with Asterisk<br>
v1.8.13.1 (basically, the Debian Stable version for Squeeze, but<br>
with some minor source code changes specific to our site). We're<br>
trying to upgrade to 11.13.1 (The Debian Stable version for Jessie),<br>
but I've run into a snag when compiling res_fax_spandsp (and yes, we<br>
really need that module). The old version has been working, and was<br>
compiled on this same machine with this same operating system. This<br>
is the error I get when doing the make:<br>
<br>
[CC] res_fax_spandsp.c -> res_fax_spandsp.o<br>
res_fax_spandsp.c: In function ‘spandsp_v21_new’:<br>
res_fax_spandsp.c:487:52: error:<br>
‘MODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLE’ undeclared (first use<br>
in this function)<br>
</blockquote>
<br>
This is defined by spandsp itself in one of its headers. Have you<br>
installed the spandsp dev package?<br>
<br>
Richard<br>
</blockquote>
<br></div></div>
Yes, but it's occurred to me that I'm not using the latest version of the Debian spandsp-dev package.<br>
<br>
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?</blockquote><div><br></div><div>The change that started using the define was made on Dec 28, 2011 to improve V.21<br></div><div>preamble detection. (Git change fdda4947767a5c0ee2424532ff5f01250797175d )<br></div><div>The spandsp version that compiles on my system is 0.0.6~pre12-1<br></div><div>Maybe you have remnants of an older version of spandsp still installed.<br></div><div><br></div><div>Richard<br></div></div><br></div></div>