While this issue is not directly related to Asterisk, someone around here might have some experience on how to work through this. I am attempting to get Sphinx Voice Rec (v2.0.6) working with Asterisk, as per these guidelines:
turnkey-solution.com/asterisk-sphinx.html
The problem is, one of the required Perl components will not compile:
search.cpan.org/~djhd/Speech-Rec … 602/SPX.pm
[quote=“Make Error”]waldorf:/usr/src/Speech-Recognizer-SPX-0.0602 # make
make[1]: Entering directory /usr/src/Speech-Recognizer-SPX-0.0602/Audio' cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DVERSION="0.0101" -DXS_VERSION="0.0101" -fPIC "-I/usr/lib/perl5/5.8.7/i586-linux-thread-multi/CORE" SPX.c SPX.c: In function ‘XS_cont_ad_tPtr_set_params’: SPX.c:722: error: too few arguments to function ‘cont_ad_set_params’ SPX.xs: In function ‘XS_cont_ad_tPtr_get_params’: SPX.xs:418: error: too few arguments to function ‘cont_ad_get_params’ SPX.c: In function ‘XS_cont_ad_tPtr_set_logfp’: SPX.c:966: warning: passing argument 1 of ‘cont_ad_set_logfp’ from incompatible pointer type SPX.c:966: error: too few arguments to function ‘cont_ad_set_logfp’ make[1]: *** [SPX.o] Error 1 make[1]: Leaving directory
/usr/src/Speech-Recognizer-SPX-0.0602/Audio’
make: *** [subdirs] Error 2
waldorf:/usr/src/Speech-Recognizer-SPX-0.0602 # [/quote]
Any ideas on how to get past this issue?