我在尝试时遇到错误
$ sudo make all
安装过程中的 htk 文件:
(cd HTKLib && make HTKLib.a) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/bin/htk/HTKLib'
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o HGraf.o HGraf.c
In file included from /usr/include/stdio.h:28:0,
from HShell.h:40,
from HGraf.c:54:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make[1]: *** [HGraf.o] Error 1
make[1]: Leaving directory `/bin/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1
这是我收到的错误,我设法读取了它,但不知道之后该做什么。
答案1
您需要安装以下开发包(提供 bits/predefs.h
):
sudo apt-get install libc6-dev