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

[hts-users:02238] Re: Snow Leopard


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




begin:vcard
fn;quoted-printable:S=C3=A9bastien Le Maguer
n;quoted-printable:Le Maguer;S=C3=A9bastien
org:;Equipe CORDIAL
adr:ENSSAT - 6 rue de Kerampont, BP 80518 ;;Bureau 203-I;Lannion Cedex;;22305 ;France
email;internet:Sebastien.Le_Maguer@xxxxxxxx
title:Doctorant
tel;work:02 96 46 91 29
url:http://www.irisa.fr/cordial/Members/slemague/
version:2.1
end:vcard


Follow-Ups
[hts-users:02239] Re: Snow Leopard, Junichi Yamagishi
References
[hts-users:02237] Snow Leopard, Junichi Yamagishi