[asterisk-users] espeak module for asterisk

virendra bhati virbhati at gmail.com
Mon Aug 22 07:48:11 CDT 2011


When I try this application I get these error list. As per the documents
there is some header files and other files is required before installed.
Please help me ...

I am using cenos 1.4 with centos 5.5

[root at cent69 asterisk-espeak-0.4]# vi README
[root at cent69 asterisk-espeak-0.4]# make
gcc -pipe   -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g    -D_REENTRANT -D_GNU_SOURCE -O6   -fPIC -c -o
app_espeak.o app_espeak.c
app_espeak.c:61:30: error: espeak/speak_lib.h: No such file or directory
app_espeak.c:64:24: error: samplerate.h: No such file or directory
app_espeak.c:87: error: expected declaration specifiers or ‘...’ before
‘espeak_EVENT’
app_espeak.c: In function ‘espeak_synth_callback’:
app_espeak.c:91: error: ‘events’ undeclared (first use in this function)
app_espeak.c:91: error: (Each undeclared identifier is reported only once
app_espeak.c:91: error: for each function it appears in.)
app_espeak.c: In function ‘espeak_exec’:
app_espeak.c:145: error: ‘SRC_DATA’ undeclared (first use in this function)
app_espeak.c:145: error: expected ‘;’ before ‘rate_change’
app_espeak.c:280: warning: implicit declaration of function
‘espeak_Initialize’
app_espeak.c:280: error: ‘AUDIO_OUTPUT_SYNCHRONOUS’ undeclared (first use in
this function)
app_espeak.c:281: warning: implicit declaration of function
‘espeak_SetSynthCallback’
app_espeak.c:282: warning: implicit declaration of function
‘espeak_SetUriCallback’
app_espeak.c:284: warning: implicit declaration of function
‘espeak_SetVoiceByName’
app_espeak.c:285: warning: implicit declaration of function
‘espeak_SetParameter’
app_espeak.c:285: error: ‘espeakRATE’ undeclared (first use in this
function)
app_espeak.c:309: warning: implicit declaration of function ‘espeak_Synth’
app_espeak.c:309: error: ‘POS_CHARACTER’ undeclared (first use in this
function)
app_espeak.c:309: error: ‘espeakCHARS_AUTO’ undeclared (first use in this
function)
app_espeak.c:394: warning: format ‘%ld’ expects type ‘long int’, but
argument 6 has type ‘sf_count_t’
app_espeak.c:394: warning: format ‘%ld’ expects type ‘long int’, but
argument 7 has type ‘sf_count_t’
app_espeak.c:406: error: ‘rate_change’ undeclared (first use in this
function)
app_espeak.c:419: warning: implicit declaration of function ‘src_simple’
app_espeak.c:419: error: ‘SRC_LINEAR’ undeclared (first use in this
function)
app_espeak.c:423: warning: implicit declaration of function ‘src_strerror’
app_espeak.c:423: warning: format ‘%s’ expects type ‘char *’, but argument 6
has type ‘int’
app_espeak.c:458: warning: format ‘%ld’ expects type ‘long int’, but
argument 6 has type ‘sf_count_t’
app_espeak.c:458: warning: format ‘%ld’ expects type ‘long int’, but
argument 7 has type ‘sf_count_t’
make: *** [app_espeak.o] Error 1
[root at cent69 asterisk-espeak-0.4]# make install
gcc -pipe   -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g    -D_REENTRANT -D_GNU_SOURCE -O6   -fPIC -c -o
app_espeak.o app_espeak.c
app_espeak.c:61:30: error: espeak/speak_lib.h: No such file or directory
app_espeak.c:64:24: error: samplerate.h: No such file or directory
app_espeak.c:87: error: expected declaration specifiers or ‘...’ before
‘espeak_EVENT’
app_espeak.c: In function ‘espeak_synth_callback’:
app_espeak.c:91: error: ‘events’ undeclared (first use in this function)
app_espeak.c:91: error: (Each undeclared identifier is reported only once
app_espeak.c:91: error: for each function it appears in.)
app_espeak.c: In function ‘espeak_exec’:
app_espeak.c:145: error: ‘SRC_DATA’ undeclared (first use in this function)
app_espeak.c:145: error: expected ‘;’ before ‘rate_change’
app_espeak.c:280: warning: implicit declaration of function
‘espeak_Initialize’
app_espeak.c:280: error: ‘AUDIO_OUTPUT_SYNCHRONOUS’ undeclared (first use in
this function)
app_espeak.c:281: warning: implicit declaration of function
‘espeak_SetSynthCallback’
app_espeak.c:282: warning: implicit declaration of function
‘espeak_SetUriCallback’
app_espeak.c:284: warning: implicit declaration of function
‘espeak_SetVoiceByName’
app_espeak.c:285: warning: implicit declaration of function
‘espeak_SetParameter’
app_espeak.c:285: error: ‘espeakRATE’ undeclared (first use in this
function)
app_espeak.c:309: warning: implicit declaration of function ‘espeak_Synth’
app_espeak.c:309: error: ‘POS_CHARACTER’ undeclared (first use in this
function)
app_espeak.c:309: error: ‘espeakCHARS_AUTO’ undeclared (first use in this
function)
app_espeak.c:394: warning: format ‘%ld’ expects type ‘long int’, but
argument 6 has type ‘sf_count_t’
app_espeak.c:394: warning: format ‘%ld’ expects type ‘long int’, but
argument 7 has type ‘sf_count_t’
app_espeak.c:406: error: ‘rate_change’ undeclared (first use in this
function)
app_espeak.c:419: warning: implicit declaration of function ‘src_simple’
app_espeak.c:419: error: ‘SRC_LINEAR’ undeclared (first use in this
function)
app_espeak.c:423: warning: implicit declaration of function ‘src_strerror’
app_espeak.c:423: warning: format ‘%s’ expects type ‘char *’, but argument 6
has type ‘int’
app_espeak.c:458: warning: format ‘%ld’ expects type ‘long int’, but
argument 6 has type ‘sf_count_t’
app_espeak.c:458: warning: format ‘%ld’ expects type ‘long int’, but
argument 7 has type ‘sf_count_t’
make: *** [app_espeak.o] Error 1


On Mon, Aug 22, 2011 at 6:05 PM, virendra bhati <virbhati at gmail.com> wrote:

> Hi List,
>
> Thank for new text-to-speech with Hindi version.
> But is required some dependency and I didn't able to installed it. Please
> help me how and from here I will get these
>
> On Mon, Aug 22, 2011 at 2:59 AM, Lefteris Zafiris <zaf.000 at gmail.com>wrote:
>
>> Version 2.0 of app_espeak just got released.
>>
>> eSpeak For Asterisk provides the "Espeak" dialplan application,
>> which allows you to use the Espeak speech synthesizer with Asterisk.
>>
>> It supports the following languages:
>> Afrikaans, Albanian, Armenian,Cantonese, Catalan, Croatian, Czech,
>> Danish, Dutch, English, Esperanto, Estonian, Finnish, French, Georgian,
>> German, Greek, Hindi, Hungarian, Icelandic, Indonesian, Italian,
>> Kannada, Kurdish, Latvian, Lojban, Macedonian, Malayalam, Mandarin,
>> Norwegian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak,
>> Spanish, Swahili, Swedish, Tamil, Turkish, Vietnamese, Welsh.
>>
>> It supports 8kHz and 16kHz sample rates to provide the best possible
>> sound quality along with the use of wideband codecs. Works with
>> asterisk 1.6 , 1.8 , 10.
>>
>> http://zaf.github.com/Asterisk-eSpeak/
>>
>> ----------------
>> Lefteris Zafiris
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
>
>
>
> -----
> Thanks and regards
>
>  Virendra Bhati
> +91-9172341457
> Software Engineer
>
>


-- 



-----
Thanks and regards

 Virendra Bhati
+91-9172341457
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110822/21ba1d98/attachment.htm>


More information about the asterisk-users mailing list