Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Problems installing in Cygwin
From: Gustavo Seabra (gustavo.seabra_at_[hidden])
Date: 2008-10-20 10:09:51

Hi All,

I am trying to install OpenMPI in Cygwin. from a cygwin bash shell, I
configured OpenMPI with the command below:

$ echo $MPI_HOME
$ ./configure --prefix=$MPI_HOME \
            --with-mpi-param_check=always \
            --with-threads=posix \
            --enable-mpi-threads \
            --disable-io-romio \
            FC="g95" FFLAGS="-O0 -fno-second-underscore" \

The configuration *seems* to be OK (it finishes with: "configure: exit
0"). However, when I try to install it, the installation finishes with
the error below. I wonder if anyone here could help me figure out what
is going wrong.

Thanks a lot!

$ make clean
$ make install
Making install in mca/timer/windows
make[2]: Entering directory
depbase=`echo timer_windows_component.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../../../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include -I../../../..
-D_REENTRANT -O3 -DNDEBUG -finline-functions -fno-strict-aliasing
-MT timer_windows_component.lo -MD -MP -MF $depbase.Tpo -c -o
timer_windows_component.lo timer_windows_component.c &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include -I../../../..
-D_REENTRANT -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -MT
timer_windows_component.lo -MD -MP -MF
.deps/timer_windows_component.Tpo -c timer_windows_component.c
-DDLL_EXPORT -DPIC -o .libs/timer_windows_component.o
opal/mca/timer/windows/timer_windows_component.h: No such file or
timer_windows_component.c:25: error: parse error before
timer_windows_component.c:25: warning: data definition has no type or
storage class
timer_windows_component.c:26: error: parse error before
timer_windows_component.c:26: warning: data definition has no type or
storage class
timer_windows_component.c: In function `opal_timer_windows_open':
timer_windows_component.c:60: error: `LARGE_INTEGER' undeclared (first
use in this function)
timer_windows_component.c:60: error: (Each undeclared identifier is
reported only once
timer_windows_component.c:60: error: for each function it appears in.)
timer_windows_component.c:60: error: parse error before "now"
timer_windows_component.c:62: error: `now' undeclared (first use in
this function)
make[2]: *** [timer_windows_component.lo] Error 1
make[2]: Leaving directory
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/seabra/local/openmpi-1.2.7/opal'
make: *** [install-recursive] Error 1