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