Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Openmpi in Mingw
From: Temesghen Kahsai (lememta_at_[hidden])
Date: 2012-01-24 15:24:02


Hello,

I am having truble compiling openmpi (version 1.5.5rc2r25765 - nightly
built) on Mingw. I am running Windows 7 and the latest version of Mingw.
I keep on getting the following error:

In file included from ../../opal/include/opal_config_bottom.h:258:0,
                  from ../../opal/include/opal_config.h:2327,
                  from asm.c:19:
../../opal/win32/win_compat.h:93:14: error: conflicting types for
'ssize_t'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/sys/types.h:
118:18: note: previous declaration of 'ssize_t' wa
s here
In file included from ../../opal/include/opal_config_bottom.h:258:0,
                  from ../../opal/include/opal_config.h:2327,
                  from asm.c:19:
../../opal/win32/win_compat.h:321:0: warning: "OPAL_HAVE_HWLOC"
redefined [enabled by default]
../../opal/include/opal_config.h:1876:0: note: this is the location of
the previous definition
In file included from ../../opal/include/opal_config.h:2327:0,
                  from asm.c:19:
../../opal/include/opal_config_bottom.h:559:0: warning: "PF_UNSPEC"
redefined [enabled by default]
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:
368:0: note: this is the location of the previous definition
../../opal/include/opal_config_bottom.h:562:0: warning: "AF_INET6"
redefined [enabled by default]
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:
329:0: note: this is the location of the previous definition
../../opal/include/opal_config_bottom.h:565:0: warning: "PF_INET6"
redefined [enabled by default]
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:
392:0: note: this is the location of the previous definition

Thank you.

T