[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:04522] Questions about compile HTS in windows by using CYGWIN


I want  compile the HTS in windows system  by CYGWIN,but some error appear after I run the command “./configure ”  and  “make ” .
some error or warning  like this:
configure::::
configure: creating ./config.status
config.status: creating HTKLib/Makefile
config.status: WARNING:  'HTKLib/Makefile.in' seems to ignore the --datarootdir            setting
config.status: creating HTKTools/Makefile
config.status: WARNING:  'HTKTools/Makefile.in' seems to ignore the --datarootdi           r setting
config.status: creating HLMLib/Makefile
config.status: WARNING:  'HLMLib/Makefile.in' seems to ignore the --datarootdir            setting
config.status: creating HLMTools/Makefile
config.status: WARNING:  'HLMTools/Makefile.in' seems to ignore the --datarootdi           r setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING:  'HTKLVRec/Makefile.in' seems to ignore the --datarootdi           r setting
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
**************************************************

HTK is now ready to be built.

Type "make all" to build the HTK libraries
and tools.

Then "make install" to install them.

The tools will be installed in /usr/local/HTS-2.3/bin

Build notes: The Language Modelling tools will
not be built. You can build them manually later
by running 'make hlmtools install-hlmtools'
HDecode will not be built. You can build
it manually later by running 'make hdecode
install-hdecode'

**************************************************

make::::::::::
$ make
(cd HTKLib && make HTKLib.a) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: 进入目录“/cygdrive/l/hts_win/htk/HTKLib”
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.o HGraf.c
HGraf.c: 在函数‘DecodeKeyPress’中:
HGraf.c:230:8: 警告:变量‘n’被设定但未被使用 [-Wunused-but-set-variable]
    int n;
        ^
HGraf.c: 在函数‘HGetEvent’中:
HGraf.c:272:18: 警告:变量‘dummy’被设定但未被使用 [-Wunused-but-set-variable]
    Boolean found,dummy;
                  ^
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esig_asc.o esig_asc.c
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esig_edr.o esig_edr.c
esig_edr.c: 在函数‘EdrReadLong’中:
esig_edr.c:1192:60: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
                            if (hi > lmaxhi || hi == lmaxhi && lo > lmaxlo)
                                                            ^
esig_edr.c:1204:60: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
                            if (hi < lminhi || hi == lminhi && lo < lminlo)
                                                            ^
esig_edr.c: 在函数‘EdrReadUlong’中:
esig_edr.c:1341:56: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
                      if (hi > ulmaxhi || hi == ulmaxhi && lo > ulmaxlo)
                                                        ^
esig_edr.c: 在函数‘ReadEdrRecord’中:
esig_edr.c:338:25: 警告:此函数中的‘flags’在使用前可能未初始化 [-Wmaybe-uninitialized]
                   flags <<= 1;
                         ^
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esignal.o esignal.c
esignal.c: 在函数‘ReadHeader’中:
esignal.c:974:29: 错误:‘ARCH’未声明(在此函数内第一次使用)
    if (strcmp(architecture, ARCH) == 0)    /* native architecture */
                             ^
esignal.c:974:29: 附注:每个未声明的标识符在其出现的函数内只报告一次
esignal.c: 在函数‘WriteHeader’中:
esignal.c:1184:25: 错误:‘ARCH’未声明(在此函数内第一次使用)
          architecture = ARCH;
                         ^
make[1]: *** [<内置>:esignal.o] 错误 1
make[1]: 离开目录“/cygdrive/l/hts_win/htk/HTKLib”
make: *** [Makefile:141:HTKLib/HTKLib.a] 错误 1
=============================================================================================
Any suggestions to solve it?
Thank you very much!