kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.03k stars 5.3k forks source link

make: *** [sctk/.compiled] Error 2 #4856

Open amxsa opened 1 year ago

amxsa commented 1 year ago

CFLAGS=" -w" CXXFLAGS=" -std=c++11 -w" /Library/Developer/CommandLineTools/usr/bin/make -C sctk all doc (mkdir -p bin) (cd doc && if test -f makefile ; then make all ; fi) (cd src && if test -f makefile ; then make all ; fi) for p in align2html asclite ctmValidator mergectm2rttm; do \ pod2man $p.pod -o $p.1; \ pod2html $p.pod > $p.html; \ done 2> /dev/null (cd asclite && if test -f makefile ; then make all ; fi) (cd core && if test -f makefile ; then make all ; fi) make[4]: Nothing to be done for all'. (cd test && if test -f makefile ; then make all ; fi) make[4]: Nothing to be done forall'. (cd sclite && if test -f makefile ; then make all ; fi) gcc -c -DHAVE_LIBM=1 -DHAVE_UNISTD_H=1 -I. -w align.c align.c:933:15: error: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int pid = getpid(); ^ align.c:1070:5: error: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(refwords); ^ align.c:1295:5: error: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(refwords); ^ align.c:1438:5: error: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(refwords); ^ 4 errors generated. make[3]: [align.o] Error 1 make[2]: [all] Error 2 make[1]: [all] Error 2 make[1]: Waiting for unfinished jobs.... make: *** [sctk/.compiled] Error 2

stale[bot] commented 1 year ago

This issue has been automatically marked as stale by a bot solely because it has not had recent activity. Please add any comment (simply 'ping' is enough) to prevent the issue from being closed for 60 more days if you believe it should be kept open.