gcc -g -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -march=i686 -DZAPTEL_OPTIM IZATIONS -fomit-frame-pointer -fPIC -c -o app_rxfax.o app_rxfax.c app_rxfax.c:22:21: spandsp.h: No such file or directory app_rxfax.c:67: error: syntax error before '*' token app_rxfax.c:68: warning: function declaration isn't a prototype app_rxfax.c:73: error: syntax error before '*' token app_rxfax.c:74: warning: function declaration isn't a prototype app_rxfax.c: In function `phase_e_handler': app_rxfax.c:76: error: `t30_stats_t' undeclared (first use in this function) app_rxfax.c:76: error: (Each undeclared identifier is reported only once app_rxfax.c:76: error: for each function it appears in.) app_rxfax.c:76: error: syntax error before "t" app_rxfax.c:81: error: `user_data' undeclared (first use in this function) app_rxfax.c:82: warning: implicit declaration of function `t30_get_transfer_statistics' app_rxfax.c:82: error: `s' undeclared (first use in this function) app_rxfax.c:82: error: `t' undeclared (first use in this function) app_rxfax.c:83: warning: implicit declaration of function `t30_get_local_ident' app_rxfax.c:84: warning: implicit declaration of function `t30_get_far_ident' app_rxfax.c:92: error: `result' undeclared (first use in this function) app_rxfax.c:95: error: `T30_ERR_OK' undeclared (first use in this function) app_rxfax.c: At top level: app_rxfax.c:123: error: syntax error before '*' token app_rxfax.c:124: warning: function declaration isn't a prototype app_rxfax.c: In function `phase_d_handler': app_rxfax.c:126: error: `t30_stats_t' undeclared (first use in this function) app_rxfax.c:126: error: syntax error before "t" app_rxfax.c:128: error: `user_data' undeclared (first use in this function) app_rxfax.c:129: error: `result' undeclared (first use in this function) app_rxfax.c:131: error: `s' undeclared (first use in this function) app_rxfax.c:131: error: `t' undeclared (first use in this function) app_rxfax.c:139: warning: implicit declaration of function `t4_encoding_to_str' app_rxfax.c:139: warning: format argument is not a pointer (arg 6) app_rxfax.c: At top level: app_rxfax.c:146: error: syntax error before '*' token app_rxfax.c:147: warning: function declaration isn't a prototype app_rxfax.c: In function `t38_tx_packet_handler': app_rxfax.c:156: error: `len' undeclared (first use in this function) app_rxfax.c:158: error: `buf' undeclared (first use in this function) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:179: error: `fax_state_t' undeclared (first use in this function) app_rxfax.c:179: error: syntax error before "fax" app_rxfax.c:180: error: `t38_state_t' undeclared (first use in this function) app_rxfax.c:210: error: `FALSE' undeclared (first use in this function) app_rxfax.c:245: error: `TRUE' undeclared (first use in this function) app_rxfax.c:289: warning: implicit declaration of function `fax_init' app_rxfax.c:289: error: `fax' undeclared (first use in this function) app_rxfax.c:291: error: `SPAN_LOG_SHOW_SEVERITY' undeclared (first use in this function) app_rxfax.c:291: error: `SPAN_LOG_SHOW_PROTOCOL' undeclared (first use in this function) app_rxfax.c:291: error: `SPAN_LOG_FLOW' undeclared (first use in this function) app_rxfax.c:294: warning: implicit declaration of function `t30_set_local_ident' app_rxfax.c:297: warning: implicit declaration of function `t30_set_header_info' app_rxfax.c:298: warning: implicit declaration of function `t30_set_rx_file' app_rxfax.c:300: warning: implicit declaration of function `t30_set_phase_d_handler' app_rxfax.c:301: warning: implicit declaration of function `t30_set_phase_e_handler' app_rxfax.c:303: warning: implicit declaration of function `t38_terminal_init' app_rxfax.c:303: error: `t38' undeclared (first use in this function) app_rxfax.c:321: warning: implicit declaration of function `t38_send_timeout' app_rxfax.c:332: warning: implicit declaration of function `fax_rx' app_rxfax.c:335: warning: implicit declaration of function `fax_tx' app_rxfax.c:358: warning: implicit declaration of function `t38_rx_ifp_packet' app_rxfax.c:379: warning: implicit declaration of function `fax_release' app_rxfax.c: At top level: app_rxfax.c:68: warning: 't30_flush' defined but not used make[1]: *** [app_rxfax.o] Error 1 make[1]: Leaving directory `/root/trunk/apps' make: *** [subdirs] Error 1 [root@localhost trunk]#