Hi Siegmar,

could you please try again with adding '-D_STDC_C99' to your CFLAGS ?

Thanks and regards,

Gilles

On 2015/01/12 20:54, Siegmar Gross wrote:
> Hi,
>
> today I tried to build openmpi-dev-685-g881b1dc on my machines
> (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1
> x86_64) with gcc-4.9.2 and the new Solaris Studio 12.4 compilers.
> I succedded on Linux but failed on both Solaris systems for both
> compilers with the same error.
>
> ...
>   CC       adio/common/ad_prealloc.lo
>   CC       adio/common/ad_read.lo
> "/usr/include/sys/feature_tests.h", line 337: #error: "Compiler or options 
> invalid for pre-UNIX 03 
> X/Open applications and pre-2001 POSIX applications"
> cc: acomp failed for 
> ../../../../../../openmpi-dev-685-g881b1dc/ompi/mca/io/romio/romio/adio/common/ad_read.c
> make[4]: *** [adio/common/ad_read.lo] Error 1
>
>
>
> ...
>   CC       adio/common/ad_read.lo
> In file included from /usr/include/unistd.h:18:0,
>                  from 
> ../../../../../../openmpi-dev-685-g881b1dc/ompi/mca/io/romio/romio/adio/common/ad_read.c:16:
> /export2/prog/SunOS_sparc/gcc-4.9.2/lib/gcc/sparc-sun-solaris2.10/4.9.2/include-fixed/sys/feature_
> tests.h:346:2: error: #error "Compiler or options invalid for pre-UNIX 03 
> X/Open applications     
> and pre-2001 POSIX applications"
>  #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
>   ^
> make[4]: *** [adio/common/ad_read.lo] Error 1
>
>
> I would be grateful if somebody can fix the problem. Thank you
> very much in advance
>
>
> Kind regards
>
> Siegmar
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/01/26165.php

Reply via email to