Building gsl-1.14 with mingw64 in msys shell on MS Windows

Tue Mar 16 12:59:00 GMT 2010


I have Windows Vista64, and I was trying to build gsl-1.14 in the msys shell 
using mingw64 (gcc-4.4.4).

I started with:

./configure --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --disable-shared 
 --enable-static && make

It ran for quite a long time - I was even starting to think it was going to 
succeed. Eventually the 'make' step croaked with:

make[2]: Entering directory `/c/_64/comp/gsl-1.14'
/bin/sh ./libtool --tag=CC   --mode=compile 
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT 
version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo version.c
libtool: compile:  x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -g -O2 -MT 
version.lo -MD -MP -MF .deps/version.Tpo -c version.c -o version.o
mv -f .deps/version.Tpo .deps/version.Plo
/bin/sh ./libtool --tag=CC   --mode=link 
x86_64-w64-mingw32-gcc  -g -O2 -version-info 15:0:15 -no-undefined  -o -rpath /usr/local/lib version.lo block/ 
blas/ bspline/ complex/ 
cheb/ dht/ diff/ deriv/ 
eigen/ err/ fft/ fit/ 
histogram/ ieee-utils/ 
integration/ interpolation/ 
linalg/ matrix/ min/ 
monte/ multifit/ multimin/ 
multiroots/ ntuple/ 
ode-initval/ permutation/ 
combination/ multiset/ 
poly/ qrng/ randist/ 
rng/ roots/ siman/ 
sort/ specfunc/ statistics/ 
sum/ sys/ test/ utils/ 
vector/ cdf/ wavelet/ 
cblas/ -lm
libtool: link: (cd .libs/libgsl.lax/libgslblock.a && ar x 
libtool: link: object name conflicts in archive: 
make[2]: *** [] Error 1
make[2]: Leaving directory `/c/_64/comp/gsl-1.14'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/_64/comp/gsl-1.14'
make: *** [all] Error 2

Does anyone here know what's required to get it to build successfully on 
this platform ? I can build a 32-bit library on the same PC, but I'd really 
like to have a 64-bit build if such is possible. Unfortunately, the error 
message doesn't mean anything to me.


More information about the Gsl-discuss mailing list