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

[hts-users:02140] Re: Problem to install HTS on Linux


Nickolay,

I already use HTS-2.1 to compile it. I wrote wrong on previous email.

Now, I can run HTS-2.1 normally.

Thanks for help.

2009/7/24 Nickolay V. Shmyrev <nshmyrev@xxxxxxxxx>
В Птн, 24/07/2009 в 14:55 -0300, Igor пишет:
> Thanks Nickolay.
>
> I downloaded the HTK-3.4 and the patch command worked, but when I
> tried compile a error occurred in HSLab. Any idea?
>
> (cd HTKTools && make all) \
>           || case "" in *k*) fail=yes;; *) exit 1;; esac;
> make[1]: Entering directory
> `/home/04080004701/Speech/HTK-3.4/HTKTools'
> if [ ! -d /home/04080004701/htkTools/bin -a X_ = X_yes ] ; then mkdir
> -p /home/04080004701/htkTools/bin ; fi
> if [ xHSLab = xHSLab ] ; then \
>                 gcc -o HSLab -I../HTKLib -ansi -D_SVID_SOURCE
> -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN
> HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
>         elif [ xHSLab = xHMGenS ] ; then \
>                 gcc -o HSLab -I../HTKLib -ansi -D_SVID_SOURCE
> -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN
> HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm
> -L/usr/lib/gcc/i486-linux-gnu/3.4.6
> -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib
> -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib
> -L/usr/lib/../lib -lfrtbegin -lg2c -lm -lX11 -lgcc_s ; \
>                 else \
>                 gcc -o HSLab -I../HTKLib -ansi -D_SVID_SOURCE
> -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN
> HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
> /tmp/cc10iJkL.o: In function `main':
> /home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:372: undefined
> reference to `ResetGraf'
> /home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:373: undefined
> reference to `ResetAudio'
> /home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:374: undefined
> reference to `ResetLabel'
> /home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:375: undefined
> reference to `ResetWave'
> /home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:376: undefined
> reference to `ResetMath'
> /home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:377: undefined
> reference to `ResetMem'
> /home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:378: undefined
> reference to `ResetShell'
> collect2: ld returned 1 exit status
> make[1]: *** [HSLab] Error 1
> make[1]: Leaving directory `/home/04080004701/Speech/HTK-3.4/HTKTools'
> make: *** [htktools] Error 1
>

Hello

Such problem could be easily resolved by looking into the sources. At
least you could comment out the missing functions if they are really
missing. Grep for function ResetMath in sources, it should be there.

But I suppose the reason for that problem is that you compiled without
patch first then applied the patch. Do make clean and rebuild the
library, it should help.

And, btw, why are you using HTS 2.0 when there is HTS 2.1




--
Eng. Igor Costa do Couto
Engenharia da Computação - UFPa
LaPS - UFPa
igorcouto@xxxxxxxxx
Skype: iccouto


References
[hts-users:02116] Problem to install HTS on Linux, Igor
[hts-users:02130] Re: Problem to install HTS on Linux, Nickolay V. Shmyrev
[hts-users:02132] Re: Problem to install HTS on Linux, Igor
[hts-users:02133] Re: Problem to install HTS on Linux, Nickolay V. Shmyrev