Pimjai Wesnarat
2006-Apr-03 07:44 UTC
[Asterisk-Users] Anybody success using Asterisk 1.2.6 and SpanDSP 0.0.3 pre 6?
Hi, I am able to use SpanDSP 0.0.2 (all pre version) with Asterisk 1.2.6 to recieve fax successfully. Today I tried to change to SpanDSP 0.0.3 pre 6 but I just couldn't complie the app_rxfax and txfax application. The SpanDSP 0.0.3 was successfully complied though. I'm running it on Debian. I've searched the space for the answer, there're so many people asked this but I just couldn't find an answer that works. I'm using the app_rxfax.c and app_txfax.c from http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps/ I'm not sure if I have to do something with the app_rxfax/txfax. I tried other snapshot of 0.0.3 and I've got the same errors. Here is the error I got. app_rxfax.c: In function `phase_e_handler': app_rxfax.c:130: warning: implicit declaration of function `t30_completion_code_to_str' app_rxfax.c:130: warning: format argument is not a pointer (arg 7) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:176: error: conflicting types for `t' app_rxfax.c:165: error: previous declaration of `t' app_rxfax.c:194: warning: implicit declaration of function `span_set_message_handler' app_rxfax.c:211: error: incompatible types in assignment app_rxfax.c:214: error: invalid operands to binary - app_rxfax.c:214: error: incompatible type for argument 1 of `strlen' app_rxfax.c:214: error: invalid operands to binary - app_rxfax.c:214: error: invalid operands to binary - app_rxfax.c:214: error: incompatible type for argument 2 of `memcpy' app_rxfax.c:214: error: invalid operands to binary - app_rxfax.c:214: error: incompatible type for argument 2 of `strncpy' app_rxfax.c:214: error: invalid operands to binary - app_rxfax.c:214: error: incompatible type for argument 2 of `strncpy' app_rxfax.c:215: error: invalid operands to binary - app_rxfax.c:219: error: invalid operands to binary - app_rxfax.c:222: error: incompatible type for argument 1 of `strlen' app_rxfax.c:222: error: incompatible type for argument 2 of `memcpy' app_rxfax.c:222: error: incompatible type for argument 2 of `strncpy' app_rxfax.c:222: error: incompatible type for argument 2 of `strncpy' app_rxfax.c:238: error: invalid operands to binary - app_rxfax.c:238: error: invalid operands to binary - app_rxfax.c:238: error: incompatible type for argument 1 of `strlen' app_rxfax.c:238: error: invalid operands to binary - app_rxfax.c:238: error: incompatible type for argument 1 of `strlen' app_rxfax.c:238: error: invalid operands to binary + app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: invalid operands to binary + app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: invalid operands to binary + app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: incompatible type for argument 1 of `strlen' app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: cannot convert to a pointer type app_rxfax.c:238: error: incompatible type for argument 2 of `strcmp' app_rxfax.c:238: error: invalid operands to binary - app_rxfax.c:238: error: incompatible type for argument 2 of `strncmp' app_rxfax.c:242: error: invalid operands to binary - app_rxfax.c:242: error: invalid operands to binary - app_rxfax.c:242: error: incompatible type for argument 1 of `strlen' app_rxfax.c:242: error: invalid operands to binary - app_rxfax.c:242: error: incompatible type for argument 1 of `strlen' app_rxfax.c:242: error: invalid operands to binary + app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: invalid operands to binary + app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: invalid operands to binary + app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: incompatible type for argument 1 of `strlen' app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: cannot convert to a pointer type app_rxfax.c:242: error: incompatible type for argument 2 of `strcmp' app_rxfax.c:242: error: invalid operands to binary - app_rxfax.c:242: error: incompatible type for argument 2 of `strncmp' app_rxfax.c:284: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:307: warning: passing arg 1 of `fax_rx' from incompatible pointer type app_rxfax.c:310: warning: passing arg 1 of `fax_tx' from incompatible pointer type app_rxfax.c:327: warning: passing arg 1 of `fax_tx' from incompatible pointer type app_rxfax.c:368: warning: passing arg 1 of `fax_release' from incompatible pointer type app_rxfax.c:375: error: invalid type argument of `->' app_rxfax.c: At top level: app_rxfax.c:81: 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 Anyone could point me a way? Pim
Possibly Parallel Threads
- Anybody success using Asterisk 1.2.6 and Spa nDSP 0.0.3 pre 6?
- spandsp 0.0.3 RxFax fax reception crashes bristuffed asterisk 1.2.13
- spandsp 0.0.3 RxFax fax reception crashes bristuffed asterisk 1.2.13
- Asterisk - Spandsp Fax not working?
- spandsp tiff debian question