Subject: [OMPI users] compiling OpenMPI 1.3.2 under Win Vista with MinGW 1.11-rc1
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2009-06-16 05:20:37


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello @all,

I try to compile OpenMPI (1.3.2) with MinGW (MinGW 1.11-rc1) under Win
Vista (32 Bit) only for developing and linking.
On running make it breaks down with errors:

c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/
winsock2.h:392:1: warning: this is the location of the previous
definition
event.c:38:18: misc.h: No such file or directory

In file included from event.c:41:
c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/
time.h:27: error: redefinition of `struct timezone'
c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/
time.h:40: error: conflicting types for 'gettimeofday'
../../opal/win32/ompi_time.h:179: error: previous declaration of
'gettimeofday' was here

c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/
time.h:40: error: conflicting types for 'gettimeofday'
../../opal/win32/ompi_time.h:179: error: previous declaration of
'gettimeofday' was here

Under OSX & Gentoo Linux I had compiled this and earlier versions
without problems (okay I'm not windows user actually
so I have some using-problems with Visual Studio / MinGW compiling &
linking).

Can anyone help me or have some other solutions to compile MPI under
Windows?

Thanks a lot

Phil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAko3Y+UACgkQ6s0Ua5LeGukCaACgjaPpXaoyfgTD1OvaJVsg/A+M
MvkAoK1Fj2fUk7S1KeNrYwZPsH+6kVIm
=A2pW
-----END PGP SIGNATURE-----