[Home]

Summary:ASTERISK-11602: app_fax doesn't compile
Reporter:tootai (tootai)Labels:
Date Opened:2008-03-09 12:49:49Date Closed:2008-03-10 09:50:29
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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

****** ADDITIONAL INFORMATION ******

Addons revision:

External at revision 63.

At revision 287.
At revision 545.
Comments:By: Joshua C. Colp (jcolp) 2008-03-10 08:50:18

What version of spandsp is installed on the machine?

By: Jason Parker (jparker) 2008-03-10 09:50:28

The libspandsp package in Debian Etch is very old.  You will need to upgrade.