I’m using asterisk 1.4.2
I have patched asterisk via asterisk.patch and manually edited configure.ac. I went through a bunch of crap just to get rxfax/txfax to show up in make menuselect, when I run make, this is what i get when it hits app_rxfax.c
[CC] app_rxfax.c -> app_rxfax.o
In file included from /usr/src/asterisk-new/asterisk-1.4.2/include/asterisk/translate.h:35,
from app_rxfax.c:38:
/usr/src/asterisk-new/asterisk-1.4.2/include/asterisk/plc.h:127: error: conflicting types for ‘plc_state_t’
/usr/local/include/spandsp/plc.h:128: error: previous declaration of ‘plc_state_t’ was here
/usr/src/asterisk-new/asterisk-1.4.2/include/asterisk/plc.h:140: error: conflicting types for ‘plc_rx’
/usr/local/include/spandsp/plc.h:142: error: previous declaration of ‘plc_rx’ was here
/usr/src/asterisk-new/asterisk-1.4.2/include/asterisk/plc.h:148: error: conflicting types for ‘plc_fillin’
/usr/local/include/spandsp/plc.h:150: error: previous declaration of ‘plc_fillin’ was here
/usr/src/asterisk-new/asterisk-1.4.2/include/asterisk/plc.h:154: error: conflicting types for ‘plc_init’
/usr/local/include/spandsp/plc.h:156: error: previous declaration of ‘plc_init’ was here
make[1]: *** [app_rxfax.o] Error 1
make: *** [apps] Error 2
I dont know where to go from here, anyone have any suggestions?