General Discussion

Nested
HTK LINUX
User: kiguaran001
Date: 11/15/2016 10:45 am
Views: 11608
Rating: 0

Hi guys, I have recently installed Linux on a virtual machine and im trying to install HTK on it. Im getting several errors while compilling to get the executables. I only need the executables for my proyect. So, can someone pass me this executables on a comprimed file? it will help me a lot. 

Thanks.

--- (Edited on 11/15/2016 10:45 am [GMT-0600] by kiguaran001) ---

Re: HTK LINUX
User: colbec
Date: 11/15/2016 1:14 pm
Views: 41
Rating: 0

To do so would probably be a violation of the terms of use people sign when they register to use the product; the copyright is protected and by registering you get a special user-only license. You can by all means share the errors you see on this forum and users will try to help, but probably your best bet would be to seek help on the HTK mailing list you can get from http://htk.eng.cam.ac.uk/

--- (Edited on 2016-11-15 2:14 pm [GMT-0500] by colbec) ---

Re: HTK LINUX
User: nsh
Date: 11/16/2016 12:53 am
Views: 14
Rating: 0

You better provide the information about errors you get - detailed information about the system and full build log. We will help you to build properly then.

Usually errors are easy to resolve, you just need to read them.

 

--- (Edited on 11/16/2016 09:53 [GMT+0300] by nsh) ---

Re: HTK LINUX
User: Visitor
Date: 11/16/2016 5:54 am
Views: 27
Rating: 0

im sorry I havent noticed about the copyright and license. I installed ubuntu-16.10 in a virtual machine and im trying to install HTK on it.

I tried different installations bat no one works. My last attempt was whith a tutorial from voxforge to install HTK and Julius on LINUX. I only need the executable files from HTK so I only want to compile the files I have downloaded from HTK. I downloaded the 3.4.1 version.

I get the error in the step 4,(this is the link http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/download). My gcc version is 6.2.0 so as it says in the tutorial, if your gcc version is above than 4.0 use yum to install the requiered files to your system (you will need to install gcc version 3.4 compatibility modules so that HTK will compile properly).

This is the command:

$su

#yum install compat-gcc-34-c++ compat-gcc-34

This command makes an error message saying that theres not any repository enabled.

And if I try to compile with my gcc version whith this command:

$ linux32 bash

$./configure CC=gcc34 --prefix=/home/username/voxforge/bin/htk

It gives this error:

checking whether make sets $(MAKE)... yes
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc34
checking for C compiler default output file name...
configure: error: C compiler cannot create executables

So I noticed that i have no choice and i need the compatibility whith the 3.4 version. But when I try to get it it says that i havent got any repository so Im trying to get that repository i need to get the compatibility.

this is my attempt: When i try to enable a repository, the terminal says taht  yum config manager is not installed so i installed it using this command:

apt install yum-utils

After i installed yum config manager i tried to add a repository

yum-config-manager --add-repo https://bodhi.fedoraproject.org/updates/FEDORA-2016-1c1aca2e1d
adding repo from: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1c1aca2e1d

[bodhi.fedoraproject.org_updates_FEDORA-2016-1c1aca2e1d]
name=added from: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1c1aca2e1d
baseurl=https://bodhi.fedoraproject.org/updates/FEDORA-2016-1c1aca2e1d
enabled=1

After i added the repository from fedora i tried to compile again using the same command i used before:

 yum install compat-gcc-34-c++ compat-gcc-34
https://bodhi.fedoraproject.org/updates/FEDORA-2016-1c1aca2e1d/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Error: Cannot retrieve repository metadata (repomd.xml) for repository: bodhi.fedoraproject.org_updates_FEDORA-2016-1c1aca2e1d. Please verify its path and try again

but thats the error im getting.

I need your help for compile the files to get the executables, so what would you do? Do you know any repository to get the gcc 3.4 compatibility?

Im looking forward to read any solution.

thanks.

 

 

 

--- (Edited on 11/16/2016 5:54 am [GMT-0600] by Visitor) ---

Re: HTK LINUX
User: nsh
Date: 11/16/2016 6:16 am
Views: 155
Rating: 0

Yum is software for Fedora. On Ubuntu you need to use apt-get instead to install packages.

You do not need gcc34, tutorial is wrong about it. You can simply run ./configure and make without any CC=gcc34.

You do not need any 32-bit mode too, modern machines are all 64-bit.

 

 

--- (Edited on 11/16/2016 15:16 [GMT+0300] by nsh) ---

Re: HTK LINUX
User: kiguaran001
Date: 11/19/2016 7:59 am
Views: 151
Rating: 0

Thanks nsh!

I have tried it as you suggested, but it didnt work.

I have written this comands following the tutorial and your suggestions:

$ mkdir voxforge

$ cd voxforge
~/voxforge$ mkdir bin
~/voxforge$ cd bin
~/voxforge/bin$ htk/./configure --prefix=/home/kepa-VirtualBox/voxforge/bin/htk
checking whether make sets $(MAKE)... yes
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc
checking for C compiler default output file name... a.out

....

configure: creating ./config.status
config.status: creating HTKLib/Makefile
config.status: WARNING:  htk/./HTKLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKTools/Makefile
config.status: WARNING:  htk/./HTKTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMLib/Makefile
config.status: WARNING:  htk/./HLMLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMTools/Makefile
config.status: WARNING:  htk/./HLMTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING:  htk/./HTKLVRec/Makefile.in seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: WARNING:  htk/./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 /home/kepa-VirtualBox/voxforge/bin/htk/bin

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

it gives me some warnings(i ignore wether them are usual or not)

After executing ./configure I wrote this comand:

~/voxforge/bin$ make all
(cd HTKLib && make HTKLib.a) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/kepa/voxforge/bin/HTKLib'

...

../htk/./HTKTools/HSLab.c:62:20: fatal error: HShell.h: No such file or directory
 #include "HShell.h"
                    ^
compilation terminated.
Makefile:56: recipe for target 'HSLab' failed
make[1]: *** [HSLab] Error 1
make[1]: Leaving directory '/home/kepa/voxforge/bin/HTKTools'
Makefile:108: recipe for target 'htktools' failed
make: *** [htktools] Error 1

 

some Error messages appeared, and it says that there is a problem whit HSlab so i launched ./configure disabling HSlab:

~/voxforge/bin$ htk/./configure --disable-hslab
checking whether make sets $(MAKE)... yes
checking for gawk... no
checking for mawk... mawk
...

config.status: creating HTKLib/Makefile
config.status: WARNING:  htk/./HTKLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKTools/Makefile
config.status: WARNING:  htk/./HTKTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMLib/Makefile
config.status: WARNING:  htk/./HLMLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMTools/Makefile
config.status: WARNING:  htk/./HLMTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING:  htk/./HTKLVRec/Makefile.in seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: WARNING:  htk/./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/bin

Build notes: Language Modelling tools will be
built. HDecode will not be built. You can build
it manually later by running 'make hdecode
install-hdecode' HSLab will not be built. If
you want to change this then run 'configure'
again with the '--enable-hslab' option.

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

same warnings, and now make all again:

~/voxforge/bin$ make all

...

../htk/./HTKTools/HBuild.c:39:46: fatal error: HShell.h: No such file or directory
 #include "HShell.h" /* HMM ToolKit Modules */
                                              ^
compilation terminated.
Makefile:56: recipe for target 'HBuild' failed
make[1]: *** [HBuild] Error 1
make[1]: Leaving directory '/home/kepa/voxforge/bin/HTKTools'
Makefile:108: recipe for target 'htktools' failed
make: *** [htktools] Error 1

I get this Error messages, Does somebody know what im doing wrong? or why it can be?

Help please

 

 

 

 

--- (Edited on 11/19/2016 7:59 am [GMT-0600] by kiguaran001) ---

Re: HTK LINUX
User: nsh
Date: 11/19/2016 11:01 am
Views: 271
Rating: 0

You need to run configure and make inside htk folder, not in bin folder. I suggest you to unpack clean htk and try again.

--- (Edited on 11/19/2016 20:01 [GMT+0300] by nsh) ---

Re: HTK LINUX
User: kiguaran001
Date: 11/21/2016 10:04 am
Views: 18
Rating: 0

I run configure insade htk folder and it creates some files in the bin folder where htk folder is. So when I try to run "make all" inside htk folder it says it cant do it:

~/voxforge/bin/htk$ make all
make: *** No rule to make target 'all'.  Stop.

or like this:

kepa@kepa-VirtualBox:~/voxforge/bin$ htk/make
bash: htk/make: No such file or directory

And when i run "make all" inside bin folder it runs properly but it doesnt make the files because of the errors I noticed here in the previous message.

--- (Edited on 11/21/2016 10:04 am [GMT-0600] by kiguaran001) ---

Re: HTK LINUX
User: nsh
Date: 11/21/2016 10:16 am
Views: 18
Rating: 0

> I run configure insade htk folder and it creates some files ithe bin folder where htk folder is.

Unpack clean HTK and try. It should not tuch bin folder, all files must be within HTK folder.

It is very simple:

tar xf HTK-3.4.1.tar.gz
cd htk
./configure
make

You do not need anything special.

Provide the complete output from the commands above if you have troubles.

 

 

--- (Edited on 11/21/2016 19:16 [GMT+0300] by nsh) ---

Re: HTK LINUX
User: kiguaran001
Date: 11/21/2016 11:15 am
Views: 31
Rating: 0

Thanks for being so patient with me, im very grateful. I tried the comands you recomended and this is all the output message i got:

kepa@kepa-VirtualBox:~$ tar xf HTK-3.4.1.tar.gz
kepa@kepa-VirtualBox:~$ cd htk
kepa@kepa-VirtualBox:~/htk$ ./configure
checking whether make sets $(MAKE)... yes
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for main in -lX11... yes
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working strtod... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for floor... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for modf... yes
checking for pow... yes
checking for socket... yes
checking for sqrt... yes
checking for strchr... yes
checking for strcspn... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 --datarootdir 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 --datarootdir setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING:  HTKLVRec/Makefile.in seems to ignore the --datarootdir 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/bin

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

**************************************************
kepa@kepa-VirtualBox:~/htk$ make
(cd HTKLib && make HTKLib.a) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/kepa/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:27:0,
                 from HShell.h:40,
                 from HGraf.c:54:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HGraf.c: In function ‘DecodeKeyPress’:
HGraf.c:179:8: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
    int n;
        ^
HGraf.c: In function ‘HGetEvent’:
HGraf.c:221:18: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
    Boolean found,dummy;
                  ^~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esig_asc.o esig_asc.c
In file included from /usr/include/stdio.h:27:0,
                 from esignal.h:33,
                 from esig_asc.c:29:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
esig_asc.c: In function ‘ReadAsciiEscape’:
esig_asc.c:2025:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
          fscanf(file, "%3lo", val);
          ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esig_edr.o esig_edr.c
In file included from /usr/include/stdio.h:27:0,
                 from esignal.h:33,
                 from esig_edr.c:29:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
esig_edr.c: In function ‘ReadEdrRecord’:
esig_edr.c:338:25: warning: ‘flags’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   flags <<= 1;
                         ^~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esignal.o esignal.c
In file included from /usr/include/stdio.h:27:0,
                 from esignal.h:33,
                 from esignal.c:29:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
esignal.c: In function ‘GetLine’:
esignal.c:1760:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
    fgets(buf, len+1, file);
    ^~~~~~~~~~~~~~~~~~~~~~~
esignal.c: In function ‘GetLong’:
esignal.c:1808:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
    fgets(buf, len+1, file);
    ^~~~~~~~~~~~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esig_nat.o esig_nat.c
In file included from /usr/include/stdio.h:27:0,
                 from esignal.h:33,
                 from esig_nat.c:29:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HAdapt.o HAdapt.c
In file included from /usr/include/stdio.h:27:0,
                 from HAdapt.c:35:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HAdapt.c: In function ‘SetSemiTiedAvCov’:
HAdapt.c:1381:15: warning: variable ‘si’ set but not used [-Wunused-but-set-variable]
    StateInfo *si   ;
               ^~
HAdapt.c: In function ‘ParseNode’:
HAdapt.c:1550:12: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
    int b,c,size;
            ^~~~
HAdapt.c: In function ‘UpdateSpkrStats’:
HAdapt.c:4542:12: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
          } else
            ^~~~
HAdapt.c:4544:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
             SaveAllXForms(hset,newFn,xfinfo->saveBinary);
             ^~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HArc.o HArc.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HArc.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HAudio.o HAudio.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HAudio.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HAudio.c: In function ‘StartAudioInput’:
HAudio.c:2174:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
       read(0, &c, 1);
       ^~~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HDict.o HDict.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HDict.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HExactMPE.o HExactMPE.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HExactMPE.c:41:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HExactMPE.c: In function ‘DoCorrectness’:
HExactMPE.c:288:58: warning: value computed is not used [-Wunused-value]
    for(b=a->follTrans->end;b->parentLarc==la;b->follTrans&&(b=b->follTrans->end)){
                                                          ^~
HExactMPE.c:332:12: warning: variable ‘cb’ set but not used [-Wunused-but-set-variable]
      HArc *cb;
            ^~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HFB.o HFB.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HFB.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HFB.c: In function ‘Setotprob’:
HFB.c:999:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
    PruneInfo *p;
               ^
HFB.c: In function ‘SetBeta’:
HFB.c:1161:12: warning: variable ‘hset’ set but not used [-Wunused-but-set-variable]
    HMMSet *hset;
            ^~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HFBLat.o HFBLat.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HFBLat.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HFBLat.c: In function ‘StepAlpha’:
HFBLat.c:737:20: warning: variable ‘transP’ set but not used [-Wunused-but-set-variable]
             double transP;
                    ^~~~~~
HFBLat.c: In function ‘DoAllMixUpdates’:
HFBLat.c:1070:33: warning: variable ‘al_otvs’ set but not used [-Wunused-but-set-variable]
    Vector mean,variance,up_otvs,al_otvs,mu_jm;
                                 ^~~~~~~
HFBLat.c: In function ‘UpMixParms’:
HFBLat.c:1198:25: warning: variable ‘vSize’ set but not used [-Wunused-but-set-variable]
    int mx,s,j,m=0,M=0,N,vSize;
                         ^~~~~
HFBLat.c: In function ‘StepForward’:
HFBLat.c:1389:25: warning: variable ‘bqt1’ set but not used [-Wunused-but-set-variable]
    DVector aqt,aqt1,bqt,bqt1,tmp;
                         ^~~~
HFBLat.c: In function ‘DoAllMixUpdates’:
HFBLat.c:1175:30: warning: ‘mammi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   mammi->occ += unscaledLr;
                   ~~~~~~~~~~~^~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HLabel.o HLabel.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HLabel.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HLat.o HLat.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HLat.c:41:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HLat.c: In function ‘LatSetScores’:
HLat.c:690:14: warning: variable ‘best’ set but not used [-Wunused-but-set-variable]
    LogDouble best;
              ^~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HLM.o HLM.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HLM.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HLM.c: In function ‘WriteNGrams’:
HLM.c:235:16: warning: variable ‘N’ set but not used [-Wunused-but-set-variable]
    int c,i,j,k,N,g=1,hash,neCnt,total;
                ^
HLM.c: In function ‘ReadNGrams’:
HLM.c:379:18: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
    unsigned char size, flags=0;
                  ^~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HMap.o HMap.c
In file included from /usr/include/stdio.h:27:0,
                 from HMap.c:44:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HMap.c: In function ‘TotMixInSet’:
HMap.c:384:10: warning: variable ‘hmm’ set but not used [-Wunused-but-set-variable]
    HLink hmm;
          ^~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HMath.o HMath.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HMath.c:39:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HMem.o HMem.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HMem.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HModel.o HModel.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HModel.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HModel.c: In function ‘CompressItemList’:
HModel.c:1149:11: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
   ILink i,p;
           ^
HModel.c: In function ‘PrintHMMProfile’:
HModel.c:3644:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    for (i=2;i<N;i++) fprintf(f,"%3d",i); fprintf(f," (width)\n");
    ^~~
HModel.c:3644:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
    for (i=2;i<N;i++) fprintf(f,"%3d",i); fprintf(f," (width)\n");
                                          ^~~~~~~
HModel.c: In function ‘CreateHMM’:
HModel.c:4225:12: warning: variable ‘newMacro’ set but not used [-Wunused-but-set-variable]
    Boolean newMacro=FALSE; /* for memory clear up*/
            ^~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HNet.o HNet.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HNet.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HNet.c: In function ‘InternalDict’:
HNet.c:2158:16: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
                if (lc<0) lc=0; if (rc<0) rc=0;
                ^~
HNet.c:2158:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
                if (lc<0) lc=0; if (rc<0) rc=0;
                                ^~
HNet.c: In function ‘CreateXEModels’:
HNet.c:3144:36: warning: variable ‘searchNode’ set but not used [-Wunused-but-set-variable]
    NetNode *node,*dest,*chainNode,*searchNode;
                                    ^~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HParm.o HParm.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HParm.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HParm.c: In function ‘FindSpans’:
HParm.c:1447:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (k&HASENERGY) ++en;  if (k&HASZEROC) ++c0;
    ^~
HParm.c:1447:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
    if (k&HASENERGY) ++en;  if (k&HASZEROC) ++c0;
                            ^~
HParm.c:1450:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (c0>0)     span[2] = stat; if (en>0) span[3] = stat+c0;
    ^~
HParm.c:1450:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
    if (c0>0)     span[2] = stat; if (en>0) span[3] = stat+c0;
                                  ^~
HParm.c: In function ‘SetWaveSpDetParms’:
HParm.c:2584:18: warning: variable ‘nBl’ set but not used [-Wunused-but-set-variable]
    int i,j,n,nFr,nBl,xMin=32767,xMax=-32768;
                  ^~~
HParm.c:2582:11: warning: variable ‘v’ set but not used [-Wunused-but-set-variable]
    Vector v,eFr;
           ^
HParm.c: In function ‘ExtractObservation’:
HParm.c:2853:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       for (i=0; i<j; i++) printf("%8.4f ",fp); printf("\n");
       ^~~
HParm.c:2853:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
       for (i=0; i<j; i++) printf("%8.4f ",fp); printf("\n");
                                                   ^~~~~~
HParm.c: In function ‘CompressPBlock’:
HParm.c:4945:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable]
    int i,nx,ix,count;
                ^~~~~
HParm.c: In function ‘SaveBuffer’:
HParm.c:5083:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
       if (cf->saveWithCRC) printf(" with CRC"); printf("\n");
       ^~
HParm.c:5083:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
       if (cf->saveWithCRC) printf(" with CRC"); printf("\n");
                                                 ^~~~~~
HParm.c: In function ‘OpenAsChannel’:
HParm.c:4351:7: warning: ‘initRows’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       FillBufFromChannel(pbuf,initRows);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HRec.o HRec.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HRec.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HRec.c: In function ‘LatFromPaths’:
HRec.c:1650:24: warning: ‘labid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             if (dur<=0 && labid != splabid) HError(8522,"LatFromPaths: Align have dur<=0 ");
                 ~~~~~~~^~~~~~~~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HShell.o HShell.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HShell.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HShell.c: In function ‘KeyPressed’:
HShell.c:1489:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
          read(0, c, 1);
          ^~~~~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HSigP.o HSigP.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HSigP.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HTrain.o HTrain.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HTrain.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HTrain.c: In function ‘RestoreAccsParallel’:
HTrain.c:1716:12: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
    int s,m,size;
            ^~~~
HTrain.c: In function ‘InitClustering’:
HTrain.c:755:22: warning: ‘cov.var’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       ccs->cl.cov = cov;
       ~~~~~~~~~~~~~~~^~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HUtil.o HUtil.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HUtil.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HVQ.o HVQ.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HVQ.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HVQ.c: In function ‘LoadVQTab’:
HVQ.c:199:9: warning: ‘cov.var’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       n = CreateVQNode(vqidx,nid,lid,rid,mean,ck,cov);
       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HVQ.c:169:15: note: ‘cov.var’ was declared here
    Covariance cov;
               ^~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HWave.o HWave.c
In file included from /usr/include/stdio.h:27:0,
                 from HShell.h:40,
                 from HWave.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HWave.c: In function ‘GetAIFFHeaderInfo’:
HWave.c:997:22: warning: variable ‘commchunk1’ set but not used [-Wunused-but-set-variable]
    CommonChunk1 ch1, commchunk1;
                      ^~~~~~~~~~
HWave.c: In function ‘GetWAVHeaderInfo’:
HWave.c:1062:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
    fread(magic, 4, 1, f);
    ^~~~~~~~~~~~~~~~~~~~~
HWave.c:1068:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
    fread(&lng, 4, 1, f);
    ^~~~~~~~~~~~~~~~~~~~
HWave.c:1069:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
    fread(magic, 4, 1, f);
    ^~~~~~~~~~~~~~~~~~~~~
HWave.c:1081:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
       fread(magic, 4, 1, f);
       ^~~~~~~~~~~~~~~~~~~~~
HWave.c:1082:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
       fread(&len, 4, 1, f);
       ^~~~~~~~~~~~~~~~~~~~
HWave.c:1087:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
          fread(&type, 2, 1, f);
          ^~~~~~~~~~~~~~~~~~~~~
HWave.c:1097:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
          fread(&chans, 2, 1, f);                /* Number of Channels */
          ^~~~~~~~~~~~~~~~~~~~~~
HWave.c:1105:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
          fread(&lng, 4, 1, f);                /* Sample Rate */
          ^~~~~~~~~~~~~~~~~~~~
HWave.c:1108:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
          fread(&lng, 4, 1, f);                  /* Average bytes/second */
          ^~~~~~~~~~~~~~~~~~~~
HWave.c:1109:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
          fread(&sht, 2, 1, f);                  /* Block align */
          ^~~~~~~~~~~~~~~~~~~~
HWave.c:1110:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
          fread(&sampSize, 2, 1, f);             /* Data size */
          ^~~~~~~~~~~~~~~~~~~~~~~~~
HWave.c:1125:28: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
       for (; len>0; len--) fread(&c,1,1,f);
                            ^~~~~~~~~~~~~~~
HWave.c: In function ‘PutESIGHeaderInfo’:
HWave.c:1379:10: warning: ‘inList’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          AddSubfield(field,inList);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
HWave.c: In function ‘OpenWaveInput’:
HWave.c:1042:30: warning: ‘commchunk2.nSamples’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    w->nSamples   = commchunk2.nSamples;
                    ~~~~~~~~~~^~~~~~~~~
HWave.c:998:22: note: ‘commchunk2.nSamples’ was declared here
    CommonChunk2 ch2, commchunk2;
                      ^~~~~~~~~~
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o strarr.o strarr.c
In file included from /usr/include/malloc.h:22:0,
                 from strarr.c:21:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ -f HTKLib.a ] ; then  /bin/rm HTKLib.a ; fi
ar rv HTKLib.a HGraf.o esig_asc.o esig_edr.o esignal.o esig_nat.o HAdapt.o HArc.o HAudio.o HDict.o HExactMPE.o HFB.o HFBLat.o HLabel.o HLat.o HLM.o HMap.o HMath.o HMem.o HModel.o HNet.o HParm.o HRec.o HShell.o HSigP.o HTrain.o HUtil.o HVQ.o HWave.o strarr.o
ar: creating HTKLib.a
a - HGraf.o
a - esig_asc.o
a - esig_edr.o
a - esignal.o
a - esig_nat.o
a - HAdapt.o
a - HArc.o
a - HAudio.o
a - HDict.o
a - HExactMPE.o
a - HFB.o
a - HFBLat.o
a - HLabel.o
a - HLat.o
a - HLM.o
a - HMap.o
a - HMath.o
a - HMem.o
a - HModel.o
a - HNet.o
a - HParm.o
a - HRec.o
a - HShell.o
a - HSigP.o
a - HTrain.o
a - HUtil.o
a - HVQ.o
a - HWave.o
a - strarr.o
ranlib HTKLib.a
make[1]: Leaving directory '/home/kepa/htk/HTKLib'
(cd HTKTools && make all) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/kepa/htk/HTKTools'
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHSLab = xHSLab ] ; then \
    gcc -o HSLab -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HSLab -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HSLab.c:62:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HSLab.c: In function ‘Point2Sample’:
HSLab.c:564:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (t<sStart) t=sStart;if (t>sEnd) t=sEnd;
    ^~
HSLab.c:564:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
    if (t<sStart) t=sStart;if (t>sEnd) t=sEnd;
                           ^~
HSLab.c: In function ‘FileExists’:
HSLab.c:1209:12: warning: variable ‘isEXF’ set but not used [-Wunused-but-set-variable]
    Boolean isEXF;               /* File name is extended */
            ^~~~~
HSLab.c: In function ‘DoSpecial’:
HSLab.c:1596:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
       system(cmdstr);
       ^~~~~~~~~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HSLab /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHBuild = xHSLab ] ; then \
    gcc -o HBuild -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HBuild.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HBuild -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HBuild.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HBuild.c:39:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HBuild /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHCompV = xHSLab ] ; then \
    gcc -o HCompV -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HCompV.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HCompV -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HCompV.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HCompV.c:53:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HCompV /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHCopy = xHSLab ] ; then \
    gcc -o HCopy -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HCopy.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HCopy -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HCopy.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HCopy.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HCopy /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHDMan = xHSLab ] ; then \
    gcc -o HDMan -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HDMan.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HDMan -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HDMan.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HDMan.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HDMan.c: In function ‘WriteEntry’:
HDMan.c:957:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       for (i=0; i<margin; i++) m = ' '; m='\0';
       ^~~
HDMan.c:957:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
       for (i=0; i<margin; i++) m = ' '; m='\0';
                                            ^
HDMan.c: In function ‘HighestInput’:
HDMan.c:1632:11: warning: variable ‘hi’ set but not used [-Wunused-but-set-variable]
    int i, hi;
           ^~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HDMan /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHERest = xHSLab ] ; then \
    gcc -o HERest -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HERest.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HERest -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HERest.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HERest.c:58:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HERest.c: In function ‘main’:
HERest.c:300:10: warning: variable ‘scriptFile’ set but not used [-Wunused-but-set-variable]
    char *scriptFile;
          ^~~~~~~~~~
HERest.c: In function ‘Initialise’:
HERest.c:572:12: warning: variable ‘S’ set but not used [-Wunused-but-set-variable]
    int L,P,S,vSize,maxM;
            ^
HERest.c: In function ‘UpdateVars’:
HERest.c:1111:34: warning: variable ‘me2’ set but not used [-Wunused-but-set-variable]
                     MixtureElem *me2;
                                  ^~~
HERest.c: In function ‘UpdateModels’:
HERest.c:1328:8: warning: variable ‘maxM’ set but not used [-Wunused-but-set-variable]
    int maxM;
        ^~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HERest /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHHEd = xHSLab ] ; then \
    gcc -o HHEd -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HHEd.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HHEd -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HHEd.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HHEd.c:45:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HHEd.c: In function ‘SplitStreams’:
HHEd.c:900:24: warning: variable ‘V’ set but not used [-Wunused-but-set-variable]
    int j,s,S,m,M,width,V,next;
                        ^
HHEd.c: In function ‘UntieMix’:
HHEd.c:1577:11: warning: variable ‘vSize’ set but not used [-Wunused-but-set-variable]
    int nu,vSize;
           ^~~~~
HHEd.c: In function ‘Clustering’:
HHEd.c:2016:14: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
    int i,j,k,n,numItems;
              ^
HHEd.c: In function ‘BuildTree’:
HHEd.c:2963:14: warning: variable ‘N’ set but not used [-Wunused-but-set-variable]
    int i,j,l,N,snum,state,numItems;
              ^
HHEd.c: In function ‘DupMixPDF’:
HHEd.c:3600:8: warning: variable ‘vSize’ set but not used [-Wunused-but-set-variable]
    int vSize;
        ^~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HHEd /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHInit = xHSLab ] ; then \
    gcc -o HInit -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HInit.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HInit -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HInit.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HInit.c:57:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HInit /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHLEd = xHSLab ] ; then \
    gcc -o HLEd -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HLEd.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HLEd -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HLEd.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HLEd.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HLEd /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHList = xHSLab ] ; then \
    gcc -o HList -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HList.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HList -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HList.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HList.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HList.c: In function ‘IsWave’:
HList.c:298:12: warning: variable ‘isEXF’ set but not used [-Wunused-but-set-variable]
    Boolean isEXF;               /* srcFile is extended file */
            ^~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HList /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHLRescore = xHSLab ] ; then \
    gcc -o HLRescore -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HLRescore.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HLRescore -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HLRescore.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HLRescore.c:39:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HLRescore.c: In function ‘main’:
HLRescore.c:462:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
       if (trace & T_TOP)
       ^~
HLRescore.c:463:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
          printf ("File: %s\n", latfn);  fflush(stdout);
                                         ^~~~~~
HLRescore.c:470:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
          if (trace & T_TOP)
          ^~
HLRescore.c:471:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
             printf ("File: %s\n", labfn);  fflush(stdout);
                                            ^~~~~~
HLRescore.c: In function ‘ProcessLabels’:
HLRescore.c:638:10: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
    LLink l;
          ^
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HLRescore /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHLStats = xHSLab ] ; then \
    gcc -o HLStats -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HLStats.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HLStats -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HLStats.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HLStats.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HLStats /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHMMIRest = xHSLab ] ; then \
    gcc -o HMMIRest -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HMMIRest.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HMMIRest -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HMMIRest.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HMMIRest.c:37:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HMMIRest.c: In function ‘UpdateGauss’:
HMMIRest.c:1284:62: warning: variable ‘oldVar’ set but not used [-Wunused-but-set-variable]
    float occ1,occ2,occ3,sqAcc1,sqAcc2,sqAcc3,Acc1,Acc2,Acc3, oldVar,newVar,newMean;
                                                              ^~~~~~
HMMIRest.c: In function ‘UpdateWeightsAndTrans’:
HMMIRest.c:1354:11: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
    int px,n;
           ^
HMMIRest.c: In function ‘UpdateModels’:
HMMIRest.c:1857:53: warning: variable ‘va3’ set but not used [-Wunused-but-set-variable]
       MuAcc *ma1,*ma2, *ma3;       VaAcc *va1,*va2,*va3;
                                                     ^~~
HMMIRest.c:1857:48: warning: variable ‘va2’ set but not used [-Wunused-but-set-variable]
       MuAcc *ma1,*ma2, *ma3;       VaAcc *va1,*va2,*va3;
                                                ^~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HMMIRest /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHParse = xHSLab ] ; then \
    gcc -o HParse -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HParse.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HParse -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HParse.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HParse.c:96:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HParse.c: In function ‘PGetSym’:
HParse.c:1371:48: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
       if (ch=='<') {symbol=LTRISYM; PGetCh();} else
                                                ^~~~
HParse.c:1372:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
          symbol=LANGSYM; break;
                          ^~~~~
HParse.c:1374:48: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
       if (ch=='>') {symbol=RTRISYM; PGetCh();} else
                                                ^~~~
HParse.c:1375:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
          symbol=RANGSYM; break;
                          ^~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HParse /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHQuant = xHSLab ] ; then \
    gcc -o HQuant -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HQuant.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HQuant -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HQuant.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HQuant.c:30:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HQuant /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHRest = xHSLab ] ; then \
    gcc -o HRest -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HRest.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HRest -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HRest.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HRest.c:65:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HRest.c: In function ‘SetOccr’:
HRest.c:759:11: warning: variable ‘a_i’ set but not used [-Wunused-but-set-variable]
    Vector a_i;
           ^~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HRest /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHResults = xHSLab ] ; then \
    gcc -o HResults -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HResults.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HResults -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HResults.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HResults.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HResults.c: In function ‘NormaliseName’:
HResults.c:362:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
    int i,n,len;
            ^~~
HResults.c: In function ‘PrintROCInfo’:
HResults.c:1639:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    for (fa=0;fa<=10;fa++)
    ^~~
HResults.c:1640:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
       printf("%5d",fa); printf("\n");
                         ^~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HResults /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHSGen = xHSLab ] ; then \
    gcc -o HSGen -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSGen.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HSGen -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSGen.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HSGen.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HSGen /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHSmooth = xHSLab ] ; then \
    gcc -o HSmooth -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSmooth.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HSmooth -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSmooth.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HSmooth.c:26:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
HSmooth.c: In function ‘UpdateTMVars’:
HSmooth.c:933:12: warning: variable ‘mixFloored’ set but not used [-Wunused-but-set-variable]
    Boolean mixFloored,shared;
            ^~~~~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HSmooth /usr/local/bin  ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
if [ xHVite = xHSLab ] ; then \
    gcc -o HVite -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HVite.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
    else \
    gcc -o HVite -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HVite.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from HVite.c:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ X_ = X_yes ] ; then /usr/bin/install -c -m 755 HVite /usr/local/bin  ; fi
make[1]: Leaving directory '/home/kepa/htk/HTKTools'
(cd HLMLib && make all) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/kepa/htk/HLMLib'
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -DSANITY -I. -I../HTKLib/   -c -o LModel.o LModel.c
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from LModel.c:37:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
LModel.c: In function ‘LoadNGram’:
LModel.c:799:9: warning: variable ‘fsize’ set but not used [-Wunused-but-set-variable]
    Byte fsize, flags;
         ^~~~~
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -DSANITY -I. -I../HTKLib/   -c -o LPMerge.o LPMerge.c
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from LPMerge.c:35:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
LPMerge.c:423:13: warning: ‘NormaliseFE’ defined but not used [-Wunused-function]
 static void NormaliseFE(FLEntry *tgtFE)
             ^~~~~~~~~~~
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -DSANITY -I. -I../HTKLib/   -c -o LPCalc.o LPCalc.c
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from LPCalc.c:35:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -DSANITY -I. -I../HTKLib/   -c -o LUtil.o LUtil.c
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from LUtil.c:35:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -DSANITY -I. -I../HTKLib/   -c -o LWMap.o LWMap.c
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from LWMap.c:35:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -DSANITY -I. -I../HTKLib/   -c -o LCMap.o LCMap.c
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from LCMap.c:35:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -DSANITY -I. -I../HTKLib/   -c -o LGBase.o LGBase.c
In file included from /usr/include/stdio.h:27:0,
                 from ../HTKLib/HShell.h:40,
                 from LGBase.c:35:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if [ -f HLMLib.a ] ; then  /bin/rm HLMLib.a ; fi
ar rv HLMLib.a LModel.o LPMerge.o LPCalc.o LUtil.o LWMap.o LCMap.o LGBase.o
ar: creating HLMLib.a
a - LModel.o
a - LPMerge.o
a - LPCalc.o
a - LUtil.o
a - LWMap.o
a - LCMap.o
a - LGBase.o
ranlib HLMLib.a
make[1]: Leaving directory '/home/kepa/htk/HLMLib'
(cd HLMTools && make all) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/kepa/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[1]: Leaving directory '/home/kepa/htk/HLMTools'
Makefile:111: recipe for target 'hlmtools' failed
make: *** [hlmtools] Error 1

In the tutorial says that ERROR "make[1]: Entering directory '/home/kepa/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[1]: Leaving directory '/home/kepa/htk/HLMTools'
Makefile:111: recipe for target 'hlmtools' failed" can be repared like this:

$ gedit /home/username/voxforge/bin/htk/HLMTools/Makefile

mkinstalldir:
        if [ ! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi

find line 77

and replace the leading spaces with a tab (make sure your editor acutally puts in a tab character), and re-run make.

 I have done this and then I rerun "make": These are the new error messages:

kepa@kepa-VirtualBox:~/htk$ make
(cd HTKTools && make all) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/kepa/htk/HTKTools'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/kepa/htk/HTKTools'
(cd HLMTools && make all) \
  || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/kepa/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[1]: Leaving directory '/home/kepa/htk/HLMTools'
Makefile:111: recipe for target 'hlmtools' failed
make: *** [hlmtools] Error 1

--- (Edited on 11/21/2016 11:17 am [GMT-0600] by kiguaran001) ---

PreviousNext