On 11/21/2011 5:43 AM, Shiqing Fan wrote:
> Hi John,
>
> Yes, there will be an initial build support for MinGW, but a few
> runtime issues still need to be fixed.
>
> If you want to try the current one, please download one of the latest
> 1.5 nightly tarballs. Please just let me know if you got problems on
> that. Feedback would be helpful and appreciated.
Hi Shiqing,
I went ahead and tried the svn trunk. I configured with
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=C:/winsame/contrib-mingw/openmpi-try \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
-DCMAKE_COLOR_MAKEFILE:BOOL=FALSE \
-G 'NMake Makefiles JOM' \
-DCMAKE_C_COMPILER:FILEPATH='mingw32-gcc' \
-DCMAKE_CXX_COMPILER:FILEPATH='mingw32-g++' \
-DCMAKE_Fortran_COMPILER:FILEPATH='mingw32-gfortran' \
..
It fails right away at
C:\MinGW\bin\mingw32-gcc.exe -Dlibopen_pal_EXPORTS -D_USRDLL
-DOPAL_EXPORTS -O3 -DNDEBUG @CMakeFiles/libopen-pal.dir/includes_C.rsp
-o CMakeFiles\libopen-pal.dir\class\opal_list.obj -c
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\class\opal_list.c
cd C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\try
In file included from
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/try/opal/include/opal_config.h:1495:0,
from
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\class\opal_atomic_lifo.c:19:
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:561:0:
warning: "PF_UNSPEC" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:368:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:564:0:
warning: "AF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:329:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:567:0:
warning: "PF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:392:0:
note: this is the location of the previous definition
In file included from
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/try/opal/include/opal_config.h:1495:0,
from
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\class\opal_free_list.c:20:
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:561:0:
warning: "PF_UNSPEC" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:368:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:564:0:
warning: "AF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:329:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:567:0:
warning: "PF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:392:0:
note: this is the location of the previous definition
In file included from
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/class/opal_free_list.h:25:0,
from
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\class\opal_free_list.c:22:
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/threads/condition.h:116:57:
warning: 'struct timespec' declared inside parameter list
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/threads/condition.h:116:57:
warning: its scope is only this definition or declaration, which is
probably not what you want
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/threads/condition.h:
In function 'opal_condition_timedwait':
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/threads/condition.h:140:34:
error: dereferencing pointer to incomplete type
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/threads/condition.h:141:35:
error: dereferencing pointer to incomplete type
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/threads/condition.h:155:34:
error: dereferencing pointer to incomplete type
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/threads/condition.h:156:35:
error: dereferencing pointer to incomplete type
command failed with exit code 1
In file included from
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/try/opal/include/opal_config.h:1495:0,
from
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\class\opal_hash_table.c:19:
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:561:0:
warning: "PF_UNSPEC" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:368:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:564:0:
warning: "AF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:329:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:567:0:
warning: "PF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:392:0:
note: this is the location of the previous definition
In file included from
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/try/opal/include/opal_config.h:1495:0,
from
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\asm\asm.c:19:
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:561:0:
warning: "PF_UNSPEC" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:368:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:564:0:
warning: "AF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:329:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:567:0:
warning: "PF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:392:0:
note: this is the location of the previous definition
In file included from
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/try/opal/include/opal_config.h:1495:0,
from
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\class\opal_bitmap.c:21:
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:561:0:
warning: "PF_UNSPEC" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:368:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:564:0:
warning: "AF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:329:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:567:0:
warning: "PF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:392:0:
note: this is the location of the previous definition
In file included from
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/try/opal/include/opal_config.h:1495:0,
from
C:\winsame\builds-mingw\facetsall-mingw\ompi-trunk\opal\class\opal_list.c:20:
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:561:0:
warning: "PF_UNSPEC" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:368:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:564:0:
warning: "AF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:329:0:
note: this is the location of the previous definition
C:/winsame/builds-mingw/facetsall-mingw/ompi-trunk/opal/include/opal_config_bottom.h:567:0:
warning: "PF_INET6" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:392:0:
note: this is the location of the previous definition
Should I configure differently?
Thx...John
|