############
Error:
############
/usr/include/features.h:374:25: fatalerror: sys/cdefs.h: No such file or directory
# include <sys/cdefs.h>
^
compilation terminated.
make[1]: *** [HGraf.o] Error 1
make[1]: Leaving directory`/home/usar/HTK_File/htk/HTKLib'
Solution:
If you are on an amd64 installation, you can try to install the package libc6-dev-i386.
############
Error:
############
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
Solution:
sudo apt-get install libx11-dev:i386
############
Error:
############
Can't open proto at ./MakeProtoHMMSetline101, <> line 21.
Can't open hmms/hmm.0
Can't open hmms/hmm.1
Can't open hmms/hmm.2
cp: target ‘hmms/tmp’ is not a directory
Can't open test
Solution:
需要自己建立这些目录
mkdir proto
mkdir hmms
mkdir hmms/hmm.0
mkdir hmms/hmm.1
mkdir hmms/hmm.2
mkdir test