[asterisk-dev] app_fax.c

David Backeberg dbackeberg at gmail.com
Wed Nov 25 08:22:03 CST 2009


On Wed, Nov 25, 2009 at 1:01 AM, Chandrakant Solanki
<solanki.chandrakant at gmail.com> wrote:
> Hi
>
> I am using asterisk 1.6.0.5.. when i am doing make it gives me following
> error for app_fax module
>
> I installed spandsp-0.0.6-0.1.pre12.el5, spandsp-devel-0.0.6-0.1.pre12.el5
> on CentOS 5.
>
> It gives me following error...
>
> app_fax.c: In function ‘phase_e_handler’:
> app_fax.c:185: error: ‘t30_stats_t’ has no member named ‘pages_transferred’
> app_fax.c:194: error: ‘t30_stats_t’ has no member named ‘pages_transferred’
> app_fax.c:198: error: ‘t30_stats_t’ has no member named ‘pages_transferred’
> app_fax.c: In function ‘transmit_audio’:
> app_fax.c:312: error: storage size of ‘fax’ isn’t known
> app_fax.c:312: warning: unused variable ‘fax’
> app_fax.c: In function ‘transmit_t38’:
> app_fax.c:483: error: storage size of ‘t38’ isn’t known
> app_fax.c:483: warning: unused variable ‘t38’
> make[1]: *** [app_fax.o] Error 1
> make: *** [apps] Error 2

The advice the other poster gave is correct.

Alternatively, you could upgrade to a later version of asterisk, or
just apply patches to app_fax.c (see patch tracker for more info)
manually if you want to use the 0.0.6 series of SpanDSP.



More information about the asterisk-dev mailing list