In file included from app_rxfax.c:15:
../include/asterisk/file.h:27:2: #error You must include stdio.h before file.h!
In file included from app_rxfax.c:15:
../include/asterisk/file.h:56: error: parse error before '*' token
../include/asterisk/file.h:56: warning: function declaration isn't a prototype
../include/asterisk/file.h:57: error: parse error before '*' token
../include/asterisk/file.h:57: warning: function declaration isn't a prototype
app_rxfax.c: In function `phase_e_handler':
app_rxfax.c:77: warning: implicit declaration of function `fax_get_transfer_statistics'
app_rxfax.c:78: warning: implicit declaration of function `fax_get_far_ident'
app_rxfax.c:79: warning: implicit declaration of function `fax_get_local_ident'
app_rxfax.c: In function `rxfax_exec':
app_rxfax.c:259: warning: passing arg 1 of `fax_init' from incompatible pointer type
app_rxfax.c:260: error: structure has no member named `verbose'
app_rxfax.c:263: warning: implicit declaration of function `fax_set_local_ident'
app_rxfax.c:266: warning: implicit declaration of function `fax_set_header_info'
app_rxfax.c:267: warning: implicit declaration of function `fax_set_rx_file'
app_rxfax.c:269: warning: implicit declaration of function `fax_set_phase_d_handler'
app_rxfax.c:270: warning: implicit declaration of function `fax_set_phase_e_handler'
app_rxfax.c:281: warning: implicit declaration of function `fax_rx_process'
app_rxfax.c:284: warning: implicit declaration of function `fax_tx_process'
app_rxfax.c:321: warning: passing arg 1 of `fax_release' from incompatible pointer type
app_rxfax.c: At top level:
app_rxfax.c:61: warning: `t30_flush' defined but not used
make[1]: *** [app_rxfax.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/apps'
make: *** [subdirs] Error 1