安装 htk 时出现所有错误

安装 htk 时出现所有错误

安装时我在 make all 中遇到错误htk

(cd HTKLib && make HTKLib.a) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/dushyant/HTK/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 `/home/dushyant/HTK/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1

我应该怎么办 ?

答案1

该标头bits/predefs.h附带libc6-dev-i386(32 位标头)。尝试:

sudo apt-get install libc6-dev-i386 

参考:缺少 predefs.h

相关内容