Click here to register.

Comments

Flat
error while compiling HTK 3.2.1
User: hozefa
Date: 12/3/2010 4:21 am
Views: 244
Rating: 0    Rate [
]

Dear all,

I receive the following error when I run above mentioned script:

HModel.c: In function ‘GetOption’:

HModel.c:623: error: invalid storage class for function ‘GetInputXForm’

HModel.c:664: warning: implicit declaration of function ‘GetInputXForm’

HModel.c:664: warning: assignment makes pointer from integer without a cast

HModel.c: At top level:

HModel.c:2020: error: conflicting types for ‘GetInputXForm’

HModel.c:664: note: previous implicit declaration of ‘GetInputXForm’ was here

HModel.c: In function ‘ApplyVFloor’:

HModel.c:2952: warning: unused variable ‘ldet’

make: *** [HModel.o] Error 1


I am running Ubuntu 10.04. Any help would be greatly appreciated. Thanks.


Cheers,


Hozefa

Reply
Re: error while compiling HTK 3.2.1
User: kmaclean
Date: 12/7/2010 9:07 am
Views: 8
Rating: 0    Rate [
]

Hi Hozefa,

You might need a compatibility version for an older gcc (this how-to uses an old version of HTK - you might also try with a newer version of HTK, and use the instructions from the HTK bool).

With Fedora it is something like this:

 yum install compat-gcc-34*;  

Not sure about Ubuntu package name or the parms for apt-get...

Ken

 

Reply
NextAdd