ERROR: make clean all
NoahCardoza opened this issue · 1 comments
NoahCardoza commented
Does anyone know what's going one?
Making all in src
Making all in libpocketsphinx
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/Cellar/cmu-sphinxbase/0.8/include -I/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase -I/usr/local/Cellar/libsamplerate/0.1.9_1/include -I/usr/local/Cellar/libsndfile/1.0.28/include -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/usr/local/Cellar/cmu-sphinxbase/0.8/include -I/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase -I/usr/local/Cellar/libsamplerate/0.1.9_1/include -I/usr/local/Cellar/libsndfile/1.0.28/include -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 -fno-common -DPIC -o .libs/acmod.o
acmod.c:458:13: warning: implicit declaration of function 'feat_update_stats' is invalid in C99 [-Wimplicit-function-declaration]
feat_update_stats(acmod->fcb);
^
acmod.c:547:71: error: too many arguments to function call, expected 5, have 6
if (fe_process_frames(acmod->fe, NULL, inout_n_samps, NULL, &nfr, NULL) < 0)
~~~~~~~~~~~~~~~~~ ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h:30:15: note: expanded from macro 'NULL'
#define NULL __DARWIN_NULL
^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:52:23: note: expanded from macro '__DARWIN_NULL'
#define __DARWIN_NULL ((void *)0)
^~~~~~~~~~~
/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase/fe.h:445:1: note: 'fe_process_frames' declared here
int fe_process_frames(fe_t *fe,
^
acmod.c:559:49: error: too many arguments to function call, expected 5, have 6
acmod->mfc_buf, &nfr, NULL) < 0)
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h:30:15: note: expanded from macro 'NULL'
#define NULL __DARWIN_NULL
^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:52:23: note: expanded from macro '__DARWIN_NULL'
#define __DARWIN_NULL ((void *)0)
^~~~~~~~~~~
/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase/fe.h:445:1: note: 'fe_process_frames' declared here
int fe_process_frames(fe_t *fe,
^
acmod.c:636:67: error: too many arguments to function call, expected 5, have 6
acmod->mfc_buf + inptr, &ncep1, &out_frameidx) < 0)
^~~~~~~~~~~~~
/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase/fe.h:445:1: note: 'fe_process_frames' declared here
int fe_process_frames(fe_t *fe,
^
acmod.c:672:62: error: too many arguments to function call, expected 5, have 6
acmod->mfc_buf + inptr, &ncep, &out_frameidx) < 0)
^~~~~~~~~~~~~
/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase/fe.h:445:1: note: 'fe_process_frames' declared here
int fe_process_frames(fe_t *fe,
^
acmod.c:1037:34: error: too many arguments provided to function-like macro invocation
acmod->senscr_frame, acmod->n_senone_active);
^
/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase/err.h:200:9: note: macro 'E_DEBUG' defined here
#define E_DEBUG(level,x) { \
^
acmod.c:1036:5: error: use of undeclared identifier 'E_DEBUG'
E_DEBUG("Frame %d has %d active states\n",
^
acmod.c:1161:17: error: too many arguments provided to function-like macro invocation
acmod->n_senone_active);
^
/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase/err.h:200:9: note: macro 'E_DEBUG' defined here
#define E_DEBUG(level,x) { \
^
acmod.c:1160:9: error: use of undeclared identifier 'E_DEBUG'
E_DEBUG("Frame %d has %d active states\n", frame_idx,
^
acmod.c:1303:37: error: too many arguments provided to function-like macro invocation
acmod->n_senone_active, acmod->output_frame);
^
/usr/local/Cellar/cmu-sphinxbase/0.8/include/sphinxbase/err.h:200:9: note: macro 'E_DEBUG' defined here
#define E_DEBUG(level,x) { \
^
acmod.c:1302:5: error: use of undeclared identifier 'E_DEBUG'
E_DEBUG("acmod_flags2list: %d active in frame %d\n",
^
acmod.c:1316:5: warning: implicit declaration of function 'fe_start_stream' is invalid in C99 [-Wimplicit-function-declaration]
fe_start_stream(acmod->fe);
^
2 warnings and 10 errors generated.
make[2]: *** [acmod.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Thanks
nshmyrev commented
You need newer sphinxbase version or even vosk.