[asterisk-bugs] [Asterisk 0012173]: app_fax doesn't compile

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Mar 10 09:50:28 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12173 
====================================================================== 
Reported By:                tootai
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12173
Category:                   Addons/General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 106997 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             03-09-2008 12:49 CDT
Last Modified:              03-10-2008 09:50 CDT
====================================================================== 
Summary:                    app_fax doesn't compile
Description: 
Hi,

here the output when compiling app_fax from trunk on a Debian Etch:

make[1]: Entering directory `/usr/src/asterisk-addons/apps'
   [CC] app_fax.c -> app_fax.o
app_fax.c:125: error: expected ‘)’ before ‘*’ token
app_fax.c: In function ‘phase_e_handler’:
app_fax.c:150: error: ‘T30_MAX_IDENT_LEN’ undeclared (first use in
this function)
app_fax.c:150: error: (Each undeclared identifier is reported only once
app_fax.c:150: error: for each function it appears in.)
app_fax.c:182: error: ‘t30_stats_t’ has no member named
‘y_resolution’
app_fax.c:190: error: ‘t30_stats_t’ has no member named
‘x_resolution’
app_fax.c:190: error: ‘t30_stats_t’ has no member named
‘y_resolution’
app_fax.c:193: error: ‘t30_stats_t’ has no member named
‘y_resolution’
app_fax.c: In function ‘set_ecm’:
app_fax.c:250: error: ‘T30_SUPPORT_T4_1D_COMPRESSION’ undeclared
(first use in this function)
app_fax.c:250: error: ‘T30_SUPPORT_T4_2D_COMPRESSION’ undeclared
(first use in this function)
app_fax.c:250: error: ‘T30_SUPPORT_T6_COMPRESSION’ undeclared (first
use in this function)
app_fax.c: In function ‘fax_generator_generate’:
app_fax.c:264: error: ‘fax_state_t’ undeclared (first use in this
function)
app_fax.c:264: error: ‘fax’ undeclared (first use in this function)
app_fax.c:264: error: expected expression before ‘)’ token
app_fax.c: In function ‘transmit_audio’:
app_fax.c:307: error: ‘fax_state_t’ undeclared (first use in this
function)
app_fax.c:307: error: expected ‘;’ before ‘fax’
app_fax.c:338: error: ‘fax’ undeclared (first use in this function)
app_fax.c:338: error: too few arguments to function ‘fax_init’
app_fax.c: In function ‘transmit_t38’:
app_fax.c:480: error: ‘t38_terminal_state_t’ undeclared (first use in
this function)
app_fax.c:480: error: expected ‘;’ before ‘t38’
app_fax.c:487: error: ‘t38’ undeclared (first use in this function)
app_fax.c:488: error: ‘t38_tx_packet_handler’ undeclared (first use in
this function)
app_fax.c:488: warning: comparison between pointer and integer
make[1]: *** [app_fax.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-addons/apps'
make: *** [apps] Error 2

Daniel
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 03-10-08 09:50  
---------------------------------------------------------------------- 
The libspandsp package in Debian Etch is very old.  You will need to
upgrade. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-10-08 09:50  qwell          Assigned To               => qwell           
03-10-08 09:50  qwell          Note Added: 0083666                          
======================================================================




More information about the asterisk-bugs mailing list