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

[hts-users:01274] Re: HTS-2.1RC1 HDecode make problem


Hi,

Ore, Brian M CTR USAF AFMC AFRL/RHCP wrote (2008/03/28 1:56):

Hi. I have been able to patch HTS-2.1RC1 into HTK, configure, and compile successfully. However, when I run make hdecode I receive the following error:

(cd HTKLVRec && make all) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/free/orebm/HTS-2.1RC1/htk/HTKLVRec'
gcc -c -DNO_LAT_LM -I../HTKLib -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 HDecode.c
mv HDecode.o HDecode.orig.o
gcc -c -DNO_LAT_LM -I../HTKLib -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 HLVNet.c
HLVNet.c:211: warning: ‘BSearch’ defined but not used
mv HLVNet.o HLVNet.orig.o
gcc -c -DNO_LAT_LM -I../HTKLib -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 HLVRec.c
In file included from HLVRec.c:264:
HLVRec-GC.c: In function ‘MarkPath’:
HLVRec-GC.c:134: warning: assignment makes pointer from integer without a cast
HLVRec-GC.c: In function ‘SweepAltPaths’:
HLVRec-GC.c:242: warning: assignment makes pointer from integer without a cast
In file included from HLVRec.c:265:
HLVRec-outP.c: In function ‘SOutP_HMod’:
HLVRec-outP.c:350: error: ‘struct _HMMSet’ has no member named ‘SpaceOrder’
make[1]: *** [HLVRec.orig.o] Error 1
make[1]: Leaving directory `/free/orebm/HTS-2.1RC1/htk/HTKLVRec'
make: *** [hdecode] Error 1

Any ideas on what may be causing the error? Thanks for any help you can provide.

Oops, it's my mistake.
Please fix HLVRec-outP.c:SOutP_HMod()

if (!hset->msdflag[s] || hset->SpaceOrder(v)==VectorSize(mp->mean)) {

as

if (!hset->msdflag[s] || SpaceOrder(v)==VectorSize(mp->mean)) {

Regards,

Heiga ZEN (Byung Ha CHUN)

--
------------------------------------------------
Heiga ZEN     (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)

Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan

http://www.sp.nitech.ac.jp/~zen
------------------------------------------------

References
[hts-users:01273] HTS-2.1RC1 HDecode make problem, Ore, Brian M CTR USAF AFMC AFRL/RHCP