I'm trying to get
ast_rxfax and ast_txfax compiling with Asterisk 1.2.1 beta. The two
ast_?xfax files don't compile:
gcc -pipe
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6
-march=i686
-fomit-frame-pointer -fPIC -D_GNU_SOURCE -c -o
app_rxfax.o app_rxfax.c
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:189: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
app_rxfax.c:259: warning: passing argument 1 of ‘fax_init’ from incompatible pointer type
app_rxfax.c:260: error: ‘t30_state_t’ 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 argument 1 of ‘fax_release’ from incompatible pointer type
make[1]: *** [app_rxfax.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.2.0-beta1/apps'
make: *** [subdirs] Error 1
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:189: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
app_rxfax.c:259: warning: passing argument 1 of ‘fax_init’ from incompatible pointer type
app_rxfax.c:260: error: ‘t30_state_t’ 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 argument 1 of ‘fax_release’ from incompatible pointer type
make[1]: *** [app_rxfax.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.2.0-beta1/apps'
make: *** [subdirs] Error 1
Does the latest
asterisk break the fax apps? Any ideas anyone?
Thanks,
MD
_______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
