app_swift and Asterisk

Integrating the Cepstral engine

app_swift and Asterisk

Postby munirhayat » Sat Jul 15, 2017 6:24 am

I am using the following OS and asterisk version but voices install successfully but app_swift is not working and throwing an eroor while running Make command
no such file and directory
App_swift.o Error code 1
OS: Centos 6 64bits
Asterisk 11.25
Following are the error messages.

[root@localhost app_swift]# ./configure
checking gcc...
checking swift...
checking asterisk...
creating Makefile
********************************************************
* Now run 'make' to compile app_swift *
********************************************************
[root@localhost app_swift]# make


_ ___
(_) / __) _
_____ ____ ____ ___ _ _ _ _ _| |__ _| |_
(____ | _ \| _ \ /___) | | | (_ __|_ _)
/ ___ | |_| | |_| | ____ |___ | | | | | | | | |_
\_____| __/| __/ (____) |___/ \___/|_| |_| \__)
|_| |_|

gcc -I/opt/swift/include -I/usr/include -g -Wall -fPIC -D_SWIFT_VER_6 -D_AST_VER_11 -c -o app_swift.o app_swift.c
app_swift.c:36:19: error: swift.h: No such file or directory
app_swift.c:38:38: error: swift_asterisk_interface.h: No such file or directory
app_swift.c:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘swift_cb’
app_swift.c: In function ‘app_exec’:
app_swift.c:329: error: ‘swift_engine’ undeclared (first use in this function)
app_swift.c:329: error: (Each undeclared identifier is reported only once
app_swift.c:329: error: for each function it appears in.)
app_swift.c:329: error: ‘engine’ undeclared (first use in this function)
app_swift.c:330: error: ‘swift_port’ undeclared (first use in this function)
app_swift.c:330: error: ‘port’ undeclared (first use in this function)
app_swift.c:331: error: ‘swift_voice’ undeclared (first use in this function)
app_swift.c:331: error: ‘voice’ undeclared (first use in this function)
app_swift.c:332: error: ‘swift_params’ undeclared (first use in this function)
app_swift.c:332: error: ‘params’ undeclared (first use in this function)
app_swift.c:333: error: ‘swift_result_t’ undeclared (first use in this function)
app_swift.c:333: error: expected ‘;’ before ‘sresult’
app_swift.c:334: error: ‘swift_background_t’ undeclared (first use in this function)
app_swift.c:334: error: expected ‘;’ before ‘tts_stream’
app_swift.c:370: warning: implicit declaration of function ‘swift_engine_open’
app_swift.c:375: warning: implicit declaration of function ‘swift_params_new’
app_swift.c:376: warning: implicit declaration of function ‘swift_params_set_string’
app_swift.c:389: warning: implicit declaration of function ‘swift_port_open’
app_swift.c:400: warning: implicit declaration of function ‘swift_register_ast_chan’
app_swift.c:412: warning: implicit declaration of function ‘swift_port_set_voice_by_name’
app_swift.c:419: error: ‘SWIFT_EVENT_AUDIO’ undeclared (first use in this function)
app_swift.c:419: error: ‘SWIFT_EVENT_END’ undeclared (first use in this function)
app_swift.c:419: error: ‘SWIFT_EVENT_ERROR’ undeclared (first use in this function)
app_swift.c:424: warning: implicit declaration of function ‘swift_port_set_callback’
app_swift.c:424: error: ‘swift_cb’ undeclared (first use in this function)
app_swift.c:426: warning: implicit declaration of function ‘SWIFT_FAILED’
app_swift.c:426: warning: implicit declaration of function ‘swift_port_speak_text’
app_swift.c:426: error: ‘tts_stream’ undeclared (first use in this function)
app_swift.c:589: error: ‘sresult’ undeclared (first use in this function)
app_swift.c:589: warning: implicit declaration of function ‘swift_port_stop’
app_swift.c:589: error: ‘SWIFT_EVENT_NOW’ undeclared (first use in this function)
app_swift.c:637: warning: implicit declaration of function ‘swift_port_close’
app_swift.c:640: warning: implicit declaration of function ‘swift_engine_close’
make: *** [app_swift.o] Error 1

Thanks
munirhayat
 
Posts: 1
Joined: Sat Jul 15, 2017 6:18 am

Return to Asterisk

Who is online

Users browsing this forum: Google [Bot] and 12 guests

cron