Re: [OMPI users] OBJ_CLASS_INSTANCE error: initializer element is not constant - Windows 7 64 bit mingw-w64 4.6.3

2011-12-29 Thread Shiqing Fan
Hi Roger, Have you tested also with 32 bit build? I was able to build the open-rte and the rest by applying g++.exe instead of gcc.exe. I couldn't find any combination of --std=C9x to make the c compiling happy for gcc.exe. Actually, the C9x option is not really necessary here, but "-x c"

Re: [OMPI users] OBJ_CLASS_INSTANCE error: initializer element is not constant - Windows 7 64 bit mingw-w64 4.6.3

2011-12-28 Thread Roger Martin
Hi Shiqing, I was able to build the open-rte and the rest by applying g++.exe instead of gcc.exe. I couldn't find any combination of --std=C9x to make the c compiling happy for gcc.exe. For open-rte build I ran into issues with opal_ifisloopback impl unreferenced. I'll regenerate my steps

Re: [OMPI users] OBJ_CLASS_INSTANCE error: initializer element is not constant - Windows 7 64 bit mingw-w64 4.6.3

2011-12-28 Thread Shiqing Fan
Hi Roger, To be honest, this MinGW support for Open MPI was integrated when the 64 bit MinGW wasn't available, so I haven't tested it for the 64 bit build. I'll give a try, and come back to you soon. Thanks for your report. Regards, Shiqing On 2011-12-22 4:54 PM, Roger Martin wrote: Hi, W

[OMPI users] OBJ_CLASS_INSTANCE error: initializer element is not constant - Windows 7 64 bit mingw-w64 4.6.3

2011-12-22 Thread Roger Martin
Hi, Working on building on windows with MinGW. Have built libopen-pal, opal-restart, opal-wrapper and am at the open-rte stage of the build. The OBJ_CLASS_INSTANCE hits errors about 'initializer element is not constant'. Open-pal also uses OBJ_CLASS_INSTANCE and doesn't throw this error. Tri