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

[hts-users:02239] Re: Snow Leopard


No. It worked fine for 64-bit Mac/Linux machines
which I have used so far (except for HDecode,
it is hard-corded for 32-bit machine).

I think this is an issue of Snow Leopard rather than
64-bit machine: it mixes 32-bit and 64-bit binaries..

If we choose one of them (i.e. -m32 or -m64),
that should be fine.

Regards,
Junichi



On 13 Oct 2009, at 12:58, Sebastien LE MAGUER wrote:

Hi,

so if we compile HTS on a 64bits-based distribution, this error will happen ?

Regards,
Sebastien

Junichi Yamagishi a écrit :
Hi,

Have anybody tried complied HTS on Snow Leopard?
By default it seems to cause an error:

a - strarr.o
a - lbfgs.o
ranlib: archive member: HTKLib.a(lbfgs.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib HTKLib.a
ranlib: archive member: HTKLib.a(lbfgs.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
make[3]: *** [HTKLib.a] Error 1
make[2]: *** [HTKLib/HTKLib.a] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

My colleague looked into this and he found this was because
Snow Leopard compiles 64-bit by default with gcc and
gfortran compiles lbfgs.o as 32-bit.

He suggested to add -m32 flag to CFLAGS of ./configure like this
./configure CFLAGS="-m32"

Regards,
Dr. Junichi Yamagishi
CSTR




<Sebastien_Le_maguer.vcf>


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


References
[hts-users:02237] Snow Leopard, Junichi Yamagishi
[hts-users:02238] Re: Snow Leopard, Sebastien LE MAGUER