Hi Miguel,
Cygwin is not actively supported, as we are now focusing on native
Windows build using CMake and Visual Studio. But I remember there were
emails some time ago, that people has done Cygwin build with 1.3 series,
see here: http://www.open-mpi.org/community/lists/users/2008/11/7294.php
, but it's difficult and might be different for 1.4.2.
However, I would like to recommend to use CMake+VS build, it's much
easier and faster than the Cygwin build. Do you have any reason that you
have to use Cygwin?
Regards,
Shiqing
On 2010-7-9 5:50 PM, Miguel Rubio-Roy wrote:
> 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
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
--
--------------------------------------------------------------
Shiqing Fan http://www.hlrs.de/people/fan
High Performance Computing Tel.: +49 711 685 87234
Center Stuttgart (HLRS) Fax.: +49 711 685 65832
Address:Allmandring 30 email: fan_at_[hidden]
70569 Stuttgart
|