Hi,
I am trying to setup Jasper on Rasperberry pi. However I am getting following error when i run make command for pocketsphinx.
make
Making all in src
make[1]: Entering directory '/home/pi/Jasper/pocketsphinx-5prealpha/src'
Making all in libpocketsphinx
make[2]: Entering directory '/home/pi/Jasper/pocketsphinx-5prealpha/src/libpocketsphinx'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c -o acmod.lo acmod.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c acmod.c -fPIC -DPIC -o .libs/acmod.o
acmod.c: In function 'acmod_end_utt':
acmod.c:458:13: warning: implicit declaration of function 'feat_update_stats' [-Wimplicit-function-declaration]
feat_update_stats(acmod->fcb);
^
acmod.c: In function 'acmod_process_full_raw':
acmod.c:547:9: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, NULL, inout_n_samps, NULL, &nfr, NULL) < 0)
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c:558:9: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c: In function 'acmod_process_raw':
acmod.c:635:17: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c:671:13: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c: In function 'acmod_start_stream':
acmod.c:1316:5: warning: implicit declaration of function 'fe_start_stream' [-Wimplicit-function-declaration]
fe_start_stream(acmod->fe);
^
Makefile:546: recipe for target 'acmod.lo' failed
make[2]: [acmod.lo] Error 1
make[2]: Leaving directory '/home/pi/Jasper/pocketsphinx-5prealpha/src/libpocketsphinx'
Makefile:370: recipe for target 'all-recursive' failed
make[1]: [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/Jasper/pocketsphinx-5prealpha/src'
Makefile:465: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Hi,
I am trying to setup Jasper on Rasperberry pi. However I am getting following error when i run make command for pocketsphinx.
make
Making all in src
make[1]: Entering directory '/home/pi/Jasper/pocketsphinx-5prealpha/src'
Making all in libpocketsphinx
make[2]: Entering directory '/home/pi/Jasper/pocketsphinx-5prealpha/src/libpocketsphinx'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c -o acmod.lo acmod.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include -I/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c acmod.c -fPIC -DPIC -o .libs/acmod.o
acmod.c: In function 'acmod_end_utt':
acmod.c:458:13: warning: implicit declaration of function 'feat_update_stats' [-Wimplicit-function-declaration]
feat_update_stats(acmod->fcb);
^
acmod.c: In function 'acmod_process_full_raw':
acmod.c:547:9: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, NULL, inout_n_samps, NULL, &nfr, NULL) < 0)
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c:558:9: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c: In function 'acmod_process_raw':
acmod.c:635:17: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c:671:13: error: too many arguments to function 'fe_process_frames'
if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
^
In file included from /home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/feat.h:87:0,
from acmod.c:55:
/home/pi/Jasper/pocketsphinx-5prealpha/../sphinxbase-0.8/include/sphinxbase/fe.h:445:5: note: declared here
int fe_process_frames(fe_t fe,
^
acmod.c: In function 'acmod_start_stream':
acmod.c:1316:5: warning: implicit declaration of function 'fe_start_stream' [-Wimplicit-function-declaration]
fe_start_stream(acmod->fe);
^
Makefile:546: recipe for target 'acmod.lo' failed
make[2]: [acmod.lo] Error 1
make[2]: Leaving directory '/home/pi/Jasper/pocketsphinx-5prealpha/src/libpocketsphinx'
Makefile:370: recipe for target 'all-recursive' failed
make[1]: [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/Jasper/pocketsphinx-5prealpha/src'
Makefile:465: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Links I folllowed for installation.
http://jasperproject.github.io/documentation/installation/
http://jasperproject.github.io/documentation/installation/
You need to use latest sphinxbase, not the old 0.8 version. You need to clone both from github.
Jasper is unmaintained unfortunately.