Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Error while compiling openMPI 1.4.2 in Cygwin 1.7.5-1. Library missing?
From: Miguel Rubio-Roy (mrubioroy_at_[hidden])
Date: 2010-07-09 11:50:13


Hi all,
  I'm trying to compile openMPI 1.4.2 in Cygwin 1.7.5-1.
  After ./configure I do make and after some time I always get this
error. I've tried "make clean" and "make" again, but that doesn't
help. It looks to me like I have all the requirements of the
README.Windows file (Cygwin and libtool 2.2.7a > 2.2.6).
  I guess my installation is missing some library, but which one? Find
attached the "configure" log.

Thanks!

Miguel

Error:

make[2]: Entering directory
`/home/miguel/openmpi-1.4.2/opal/mca/installdirs/windows'
depbase=`echo opal_installdirs_windows.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../../../../opal/mca/paffinity/linux/plpa/src/libplpa
-I../../../..  -D_REENTRANT  -O3 -DNDEBUG -finline-functions
-fno-strict-aliasing  -MT opal_installdirs_windows.lo -MD -MP -MF
$depbase.Tpo -c -o opal_installdirs_windows.lo
opal_installdirs_windows.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include
-I../../../../opal/mca/paffinity/linux/plpa/src/libplpa -I../../../..
-D_REENTRANT -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -MT
opal_installdirs_windows.lo -MD -MP -MF
.deps/opal_installdirs_windows.Tpo -c opal_installdirs_windows.c
-DDLL_EXPORT -DPIC -o .libs/opal_installdirs_windows.o
opal_installdirs_windows.c: In function ‘installdirs_windows_open’:
opal_installdirs_windows.c:69: error: ‘HKEY’ undeclared (first use in
this function)
opal_installdirs_windows.c:69: error: (Each undeclared identifier is
reported only once
opal_installdirs_windows.c:69: error: for each function it appears in.)
opal_installdirs_windows.c:69: error: expected ‘;’ before ‘ompi_key’
opal_installdirs_windows.c:79: error: ‘ERROR_SUCCESS’ undeclared
(first use in this function)
opal_installdirs_windows.c:79: error: ‘HKEY_LOCAL_MACHINE’ undeclared
(first use in this function)
opal_installdirs_windows.c:79: error: ‘KEY_READ’ undeclared (first use
in this function)
opal_installdirs_windows.c:79: error: ‘ompi_key’ undeclared (first use
in this function)
opal_installdirs_windows.c:85: error: ‘DWORD’ undeclared (first use in
this function)
opal_installdirs_windows.c:85: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:85: error: ‘valueLength’ undeclared (first
use in this function)
opal_installdirs_windows.c:85: error: ‘cbData’ undeclared (first use
in this function)
opal_installdirs_windows.c:85: error: ‘keyType’ undeclared (first use
in this function)
opal_installdirs_windows.c:85: error: ‘LPBYTE’ undeclared (first use
in this function)
opal_installdirs_windows.c:85: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:85: error: ‘REG_EXPAND_SZ’ undeclared
(first use in this function)
opal_installdirs_windows.c:85: error: ‘REG_SZ’ undeclared (first use
in this function)
opal_installdirs_windows.c:86: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:86: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:87: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:87: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:88: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:88: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:89: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:89: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:90: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:90: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:91: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:91: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:92: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:92: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:93: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:93: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:94: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:94: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:95: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:95: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:96: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:96: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:97: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:97: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:98: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:98: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:99: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:99: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:100: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:100: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:101: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:101: error: expected ‘)’ before ‘vData’
make[2]: *** [opal_installdirs_windows.lo] Error 1
make[2]: Leaving directory
`/home/miguel/openmpi-1.4.2/opal/mca/installdirs/windows'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/miguel/openmpi-1.4.2/opal'
make: *** [all-recursive] Error 1

--
Miguel