Hi, I am new to freeswitch. I downloaded 1.04 source tarball and I got error during the compiling. <br>Below is the error message, please advise what was going wrong. Thanks,<br><br>mkdir .libs<br>Compiling mod_cepstral.c ...<br>
mod_cepstral.c:41:19: error: swift.h: No such file or directory<br>mod_cepstral.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token<br>mod_cepstral.c:57: error: expected specifier-qualifier-list before 'swift_background_t'<br>
mod_cepstral.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'write_audio'<br>mod_cepstral.c: In function 'cepstral_speech_open':<br>mod_cepstral.c:122: error: 'cepstral_t' has no member named 'audio_buffer'<br>
mod_cepstral.c:128: error: 'cepstral_t' has no member named 'audio_lock'<br>mod_cepstral.c:131: error: 'cepstral_t' has no member named 'params'<br>mod_cepstral.c:132: error: 'cepstral_t' has no member named 'params'<br>
mod_cepstral.c:134: error: 'cepstral_t' has no member named 'params'<br>mod_cepstral.c:138: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:138: error: 'engine' undeclared (first use in this function)<br>
mod_cepstral.c:138: error: (Each undeclared identifier is reported only once<br>mod_cepstral.c:138: error: for each function it appears in.)<br>mod_cepstral.c:138: error: 'cepstral_t' has no member named 'params'<br>
mod_cepstral.c:144: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:151: error: 'cepstral_t' has no member named 'voice'<br>mod_cepstral.c:151: error: 'cepstral_t' has no member named 'port'<br>
mod_cepstral.c:157: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:157: error: 'cepstral_t' has no member named 'voice'<br>mod_cepstral.c:162: error: 'cepstral_t' has no member named 'voice'<br>
mod_cepstral.c:169: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:169: error: 'write_audio' undeclared (first use in this function)<br>mod_cepstral.c:169: error: 'SWIFT_EVENT_AUDIO' undeclared (first use in this function)<br>
mod_cepstral.c: In function 'cepstral_speech_close':<br>mod_cepstral.c:187: error: 'cepstral_t' has no member named 'done'<br>mod_cepstral.c:188: error: 'cepstral_t' has no member named 'done_gen'<br>
mod_cepstral.c:189: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:189: error: 'SWIFT_ASYNC_ANY' undeclared (first use in this function)<br>mod_cepstral.c:189: error: 'SWIFT_EVENT_NOW' undeclared (first use in this function)<br>
mod_cepstral.c:191: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:192: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:195: error: 'cepstral_t' has no member named 'port'<br>
mod_cepstral.c:198: error: 'cepstral_t' has no member named 'audio_buffer'<br>mod_cepstral.c: In function 'cepstral_speech_feed_tts':<br>mod_cepstral.c:213: error: 'cepstral_t' has no member named 'done_gen'<br>
mod_cepstral.c:214: error: 'cepstral_t' has no member named 'done'<br>mod_cepstral.c:216: error: 'cepstral_t' has no member named 'tts_stream'<br>mod_cepstral.c:226: error: 'cepstral_t' has no member named 'port'<br>
mod_cepstral.c:226: error: 'cepstral_t' has no member named 'tts_stream'<br>mod_cepstral.c:234: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:234: error: 'cepstral_t' has no member named 'tts_stream'<br>
mod_cepstral.c: In function 'cepstral_speech_flush_tts':<br>mod_cepstral.c:249: error: 'cepstral_t' has no member named 'done_gen'<br>mod_cepstral.c:250: error: 'cepstral_t' has no member named 'done'<br>
mod_cepstral.c:251: error: 'cepstral_t' has no member named 'audio_buffer'<br>mod_cepstral.c:252: error: 'cepstral_t' has no member named 'audio_lock'<br>mod_cepstral.c:253: error: 'cepstral_t' has no member named 'audio_buffer'<br>
mod_cepstral.c:254: error: 'cepstral_t' has no member named 'audio_lock'<br>mod_cepstral.c:256: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:256: error: 'SWIFT_ASYNC_ANY' undeclared (first use in this function)<br>
mod_cepstral.c:256: error: 'SWIFT_EVENT_NOW' undeclared (first use in this function)<br>mod_cepstral.c: In function 'cepstral_speech_read_tts':<br>mod_cepstral.c:270: error: 'cepstral_t' has no member named 'done'<br>
mod_cepstral.c:271: error: 'cepstral_t' has no member named 'done_gen'<br>mod_cepstral.c:272: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:272: error: 'cepstral_t' has no member named 'tts_stream'<br>
mod_cepstral.c:274: error: 'SWIFT_STATUS_RUNNING' undeclared (first use in this function)<br>mod_cepstral.c:275: error: 'cepstral_t' has no member named 'done_gen'<br>mod_cepstral.c:279: error: 'cepstral_t' has no member named 'audio_lock'<br>
mod_cepstral.c:280: error: 'cepstral_t' has no member named 'audio_buffer'<br>mod_cepstral.c:281: error: 'cepstral_t' has no member named 'audio_lock'<br>mod_cepstral.c:284: error: 'cepstral_t' has no member named 'done_gen'<br>
mod_cepstral.c:292: error: 'cepstral_t' has no member named 'done_gen'<br>mod_cepstral.c:306: error: 'cepstral_t' has no member named 'audio_lock'<br>mod_cepstral.c:307: error: 'cepstral_t' has no member named 'audio_buffer'<br>
mod_cepstral.c:318: error: 'cepstral_t' has no member named 'audio_lock'<br>mod_cepstral.c: In function 'cepstral_text_param_tts':<br>mod_cepstral.c:337: error: 'cepstral_t' has no member named 'voice'<br>
mod_cepstral.c:337: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:338: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:338: error: 'cepstral_t' has no member named 'voice'<br>
mod_cepstral.c:339: error: 'cepstral_t' has no member named 'done'<br>mod_cepstral.c:339: error: 'cepstral_t' has no member named 'done_gen'<br>mod_cepstral.c:342: error: 'cepstral_t' has no member named 'voice'<br>
mod_cepstral.c:347: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c:355: error: 'cepstral_t' has no member named 'voice'<br>mod_cepstral.c:355: error: 'cepstral_t' has no member named 'port'<br>
mod_cepstral.c:357: error: 'cepstral_t' has no member named 'done'<br>mod_cepstral.c:357: error: 'cepstral_t' has no member named 'done_gen'<br>mod_cepstral.c:362: error: 'cepstral_t' has no member named 'port'<br>
mod_cepstral.c:362: error: 'cepstral_t' has no member named 'voice'<br>mod_cepstral.c:364: error: 'cepstral_t' has no member named 'done'<br>mod_cepstral.c:364: error: 'cepstral_t' has no member named 'done_gen'<br>
mod_cepstral.c:368: error: 'cepstral_t' has no member named 'voice'<br>mod_cepstral.c:378: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c: In function 'cepstral_numeric_param_tts':<br>
mod_cepstral.c:388: error: 'cepstral_t' has no member named 'port'<br>mod_cepstral.c: In function 'cepstral_float_param_tts':<br>mod_cepstral.c:400: error: 'cepstral_t' has no member named 'port'<br>
mod_cepstral.c: In function 'mod_cepstral_load':<br>mod_cepstral.c:409: error: 'engine' undeclared (first use in this function)<br>make[5]: *** [mod_cepstral.lo] Error 1<br>make[4]: *** [all] Error 1<br>make[3]: *** [mod_cepstral-all] Error 1<br>
make[2]: *** [all-recursive] Error 1<br>Making all in build<br> +-------- FreeSWITCH Build Complete -----------+<br> + FreeSWITCH has been successfully built. +<br> + Install by running: +<br>
+ +<br> + make install +<br> +----------------------------------------------+<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br>
[root@proxy1 freeswitch]# <br><br><br>