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

[hts-users:02237] Snow Leopard


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



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


Follow-Ups
[hts-users:02238] Re: Snow Leopard, Sebastien LE MAGUER